File tree 31 files changed +104
-31
lines changed
buildSrc/src/main/java/com/example/crane/buildsrc
buildSrc/src/main/java/com/example/jetcaster/buildsrc
buildSrc/src/main/java/com/example/compose/jetchat/buildsrc
buildSrc/src/main/java/com/example/jetsnack/buildsrc
buildSrc/src/main/java/com/example/compose/jetsurvey/buildsrc
buildSrc/src/main/java/com/example/owl/buildsrc
buildSrc/src/main/java/com/example/compose/rally/buildsrc
31 files changed +104
-31
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ android {
65
65
}
66
66
67
67
release {
68
- minifyEnabled false
68
+ minifyEnabled true
69
69
proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro'
70
70
}
71
71
}
Original file line number Diff line number Diff line change 14
14
15
15
# Uncomment this to preserve the line number information for
16
16
# debugging stack traces.
17
- # -keepattributes SourceFile,LineNumberTable
17
+ -keepattributes SourceFile,LineNumberTable
18
18
19
19
# If you keep the line number information, uncomment this to
20
20
# hide the original source file name.
21
- #-renamesourcefileattribute SourceFile
21
+ -renamesourcefileattribute SourceFile
22
+
23
+ # Repackage classes into the top-level.
24
+ -repackageclasses
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ object Libs {
37
37
const val extensions = " org.jetbrains.kotlin:kotlin-android-extensions:$version "
38
38
39
39
object Coroutines {
40
- private const val version = " 1.4.0 "
40
+ private const val version = " 1.4.1 "
41
41
const val android = " org.jetbrains.kotlinx:kotlinx-coroutines-android:$version "
42
42
const val test = " org.jetbrains.kotlinx:kotlinx-coroutines-test:$version "
43
43
}
Original file line number Diff line number Diff line change @@ -40,3 +40,6 @@ android.enableJetifier=true
40
40
41
41
# Kotlin code style for this project: "official" or "obsolete":
42
42
kotlin.code.style =official
43
+
44
+ # Enable R8 full mode.
45
+ android.enableR8.fullMode =true
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ android {
45
45
}
46
46
47
47
release {
48
- minifyEnabled false
48
+ minifyEnabled true
49
49
proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro'
50
50
}
51
51
}
@@ -77,6 +77,7 @@ android {
77
77
78
78
dependencies {
79
79
implementation " org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version "
80
+ implementation " org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_version "
80
81
81
82
implementation " androidx.compose.runtime:runtime:$compose_version "
82
83
implementation " androidx.compose.ui:ui:$compose_version "
Original file line number Diff line number Diff line change 14
14
15
15
# Uncomment this to preserve the line number information for
16
16
# debugging stack traces.
17
- # -keepattributes SourceFile,LineNumberTable
17
+ -keepattributes SourceFile,LineNumberTable
18
18
19
19
# If you keep the line number information, uncomment this to
20
20
# hide the original source file name.
21
- #-renamesourcefileattribute SourceFile
21
+ -renamesourcefileattribute SourceFile
22
+
23
+ # Repackage classes into the top-level.
24
+ -repackageclasses
Original file line number Diff line number Diff line change 17
17
buildscript {
18
18
ext. kotlin_version = ' 1.4.10'
19
19
ext. compose_version = ' 1.0.0-SNAPSHOT'
20
+ ext. coroutines_version = ' 1.4.1'
20
21
21
22
repositories {
22
23
google()
Original file line number Diff line number Diff line change @@ -37,3 +37,6 @@ android.useAndroidX=true
37
37
38
38
# Kotlin code style for this project: "official" or "obsolete":
39
39
kotlin.code.style =official
40
+
41
+ # Enable R8 full mode.
42
+ android.enableR8.fullMode =true
Original file line number Diff line number Diff line change 14
14
15
15
# Uncomment this to preserve the line number information for
16
16
# debugging stack traces.
17
- # -keepattributes SourceFile,LineNumberTable
17
+ -keepattributes SourceFile,LineNumberTable
18
18
19
19
# If you keep the line number information, uncomment this to
20
20
# hide the original source file name.
21
- #-renamesourcefileattribute SourceFile
21
+ -renamesourcefileattribute SourceFile
22
+
23
+ # Repackage classes into the top-level.
24
+ -repackageclasses
25
+
26
+ # Rome reflectively loads classes referenced in com/rometools/rome/rome.properties.
27
+ -adaptresourcefilecontents com/rometools/rome/rome.properties
28
+ -keep,allowobfuscation class * implements com.rometools.rome.feed.synd.Converter
29
+ -keep,allowobfuscation class * implements com.rometools.rome.io.ModuleParser
30
+ -keep,allowobfuscation class * implements com.rometools.rome.io.WireFeedParser
31
+
32
+ # Disable warnings for missing classes from OkHttp.
33
+ -dontwarn org.conscrypt.ConscryptHostnameVerifier
34
+
35
+ # Disable warnings for missing classes from JDOM.
36
+ -dontwarn org.jaxen.DefaultNavigator
37
+ -dontwarn org.jaxen.NamespaceContext
38
+ -dontwarn org.jaxen.VariableContext
Original file line number Diff line number Diff line change @@ -42,14 +42,14 @@ object Libs {
42
42
}
43
43
44
44
object Coroutines {
45
- private const val version = " 1.4.0 "
45
+ private const val version = " 1.4.1 "
46
46
const val core = " org.jetbrains.kotlinx:kotlinx-coroutines-core:$version "
47
47
const val android = " org.jetbrains.kotlinx:kotlinx-coroutines-android:$version "
48
48
const val test = " org.jetbrains.kotlinx:kotlinx-coroutines-test:$version "
49
49
}
50
50
51
51
object OkHttp {
52
- private const val version = " 4.7.2 "
52
+ private const val version = " 4.9.0 "
53
53
const val okhttp = " com.squareup.okhttp3:okhttp:$version "
54
54
const val logging = " com.squareup.okhttp3:logging-interceptor:$version "
55
55
}
Original file line number Diff line number Diff line change @@ -37,3 +37,6 @@ android.useAndroidX=true
37
37
38
38
# Kotlin code style for this project: "official" or "obsolete":
39
39
kotlin.code.style =official
40
+
41
+ # Enable R8 full mode.
42
+ android.enableR8.fullMode =true
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ android {
51
51
}
52
52
53
53
release {
54
- minifyEnabled false
54
+ minifyEnabled true
55
55
proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro'
56
56
}
57
57
}
Original file line number Diff line number Diff line change 14
14
15
15
# Uncomment this to preserve the line number information for
16
16
# debugging stack traces.
17
- # -keepattributes SourceFile,LineNumberTable
17
+ -keepattributes SourceFile,LineNumberTable
18
18
19
19
# If you keep the line number information, uncomment this to
20
20
# hide the original source file name.
21
- #-renamesourcefileattribute SourceFile
21
+ -renamesourcefileattribute SourceFile
22
+
23
+ # Repackage classes into the top-level.
24
+ -repackageclasses
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ object Libs {
36
36
}
37
37
38
38
object Coroutines {
39
- private const val version = " 1.3.9 "
39
+ private const val version = " 1.4.1 "
40
40
const val core = " org.jetbrains.kotlinx:kotlinx-coroutines-core:$version "
41
41
const val android = " org.jetbrains.kotlinx:kotlinx-coroutines-android:$version "
42
42
const val test = " org.jetbrains.kotlinx:kotlinx-coroutines-test:$version "
Original file line number Diff line number Diff line change @@ -37,3 +37,6 @@ android.useAndroidX=true
37
37
38
38
# Kotlin code style for this project: "official" or "obsolete":
39
39
kotlin.code.style =official
40
+
41
+ # Enable R8 full mode.
42
+ android.enableR8.fullMode =true
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ android {
50
50
}
51
51
52
52
release {
53
- minifyEnabled false
53
+ minifyEnabled true
54
54
proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro'
55
55
}
56
56
}
@@ -77,8 +77,8 @@ android {
77
77
}
78
78
79
79
dependencies {
80
-
81
80
implementation Libs.Kotlin . stdlib
81
+ implementation Libs.Coroutines . android
82
82
83
83
implementation Libs.Coroutines . core
84
84
Original file line number Diff line number Diff line change 14
14
15
15
# Uncomment this to preserve the line number information for
16
16
# debugging stack traces.
17
- # -keepattributes SourceFile,LineNumberTable
17
+ -keepattributes SourceFile,LineNumberTable
18
18
19
19
# If you keep the line number information, uncomment this to
20
20
# hide the original source file name.
21
- #-renamesourcefileattribute SourceFile
21
+ -renamesourcefileattribute SourceFile
22
+
23
+ # Repackage classes into the top-level.
24
+ -repackageclasses
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ object Libs {
37
37
}
38
38
39
39
object Coroutines {
40
- private const val version = " 1.4.0 "
40
+ private const val version = " 1.4.1 "
41
41
const val core = " org.jetbrains.kotlinx:kotlinx-coroutines-core:$version "
42
42
const val android = " org.jetbrains.kotlinx:kotlinx-coroutines-android:$version "
43
43
const val test = " org.jetbrains.kotlinx:kotlinx-coroutines-test:$version "
Original file line number Diff line number Diff line change @@ -37,3 +37,6 @@ android.useAndroidX=true
37
37
38
38
# Kotlin code style for this project: "official" or "obsolete":
39
39
kotlin.code.style =official
40
+
41
+ # Enable R8 full mode.
42
+ android.enableR8.fullMode =true
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ android {
49
49
}
50
50
51
51
release {
52
- minifyEnabled false
52
+ minifyEnabled true
53
53
proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro'
54
54
}
55
55
}
@@ -87,6 +87,7 @@ android {
87
87
88
88
dependencies {
89
89
implementation Libs.Kotlin . stdlib
90
+ implementation Libs.Coroutines . android
90
91
91
92
implementation Libs.AndroidX . coreKtx
92
93
implementation Libs.AndroidX . appcompat
Original file line number Diff line number Diff line change 14
14
15
15
# Uncomment this to preserve the line number information for
16
16
# debugging stack traces.
17
- # -keepattributes SourceFile,LineNumberTable
17
+ -keepattributes SourceFile,LineNumberTable
18
18
19
19
# If you keep the line number information, uncomment this to
20
20
# hide the original source file name.
21
- #-renamesourcefileattribute SourceFile
21
+ -renamesourcefileattribute SourceFile
22
+
23
+ # Repackage classes into the top-level.
24
+ -repackageclasses
Original file line number Diff line number Diff line change @@ -40,6 +40,13 @@ object Libs {
40
40
const val extensions = " org.jetbrains.kotlin:kotlin-android-extensions:$version "
41
41
}
42
42
43
+ object Coroutines {
44
+ private const val version = " 1.4.1"
45
+ const val core = " org.jetbrains.kotlinx:kotlinx-coroutines-core:$version "
46
+ const val android = " org.jetbrains.kotlinx:kotlinx-coroutines-android:$version "
47
+ const val test = " org.jetbrains.kotlinx:kotlinx-coroutines-test:$version "
48
+ }
49
+
43
50
object AndroidX {
44
51
const val appcompat = " androidx.appcompat:appcompat:1.2.0-rc01"
45
52
const val coreKtx = " androidx.core:core-ktx:1.5.0-alpha01"
Original file line number Diff line number Diff line change @@ -37,3 +37,6 @@ android.useAndroidX=true
37
37
38
38
# Kotlin code style for this project: "official" or "obsolete":
39
39
kotlin.code.style =official
40
+
41
+ # Enable R8 full mode.
42
+ android.enableR8.fullMode =true
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ android {
50
50
}
51
51
52
52
release {
53
- minifyEnabled false
53
+ minifyEnabled true
54
54
proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro'
55
55
}
56
56
}
@@ -78,6 +78,7 @@ android {
78
78
79
79
dependencies {
80
80
implementation Libs.Kotlin . stdlib
81
+ implementation Libs.Coroutines . android
81
82
82
83
implementation Libs.AndroidX . coreKtx
83
84
Original file line number Diff line number Diff line change 14
14
15
15
# Uncomment this to preserve the line number information for
16
16
# debugging stack traces.
17
- # -keepattributes SourceFile,LineNumberTable
17
+ -keepattributes SourceFile,LineNumberTable
18
18
19
19
# If you keep the line number information, uncomment this to
20
20
# hide the original source file name.
21
- #-renamesourcefileattribute SourceFile
21
+ -renamesourcefileattribute SourceFile
22
+
23
+ # Repackage classes into the top-level.
24
+ -repackageclasses
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ object Libs {
38
38
}
39
39
40
40
object Coroutines {
41
- private const val version = " 1.4.0 "
41
+ private const val version = " 1.4.1 "
42
42
const val core = " org.jetbrains.kotlinx:kotlinx-coroutines-core:$version "
43
43
const val android = " org.jetbrains.kotlinx:kotlinx-coroutines-android:$version "
44
44
const val test = " org.jetbrains.kotlinx:kotlinx-coroutines-test:$version "
Original file line number Diff line number Diff line change @@ -37,3 +37,6 @@ android.useAndroidX=true
37
37
38
38
# Kotlin code style for this project: "official" or "obsolete":
39
39
kotlin.code.style =official
40
+
41
+ # Enable R8 full mode.
42
+ android.enableR8.fullMode =true
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ android {
51
51
}
52
52
53
53
release {
54
- minifyEnabled false
54
+ minifyEnabled true
55
55
proguardFiles getDefaultProguardFile(' proguard-android-optimize.txt' ), ' proguard-rules.pro'
56
56
}
57
57
}
Original file line number Diff line number Diff line change 14
14
15
15
# Uncomment this to preserve the line number information for
16
16
# debugging stack traces.
17
- # -keepattributes SourceFile,LineNumberTable
17
+ -keepattributes SourceFile,LineNumberTable
18
18
19
19
# If you keep the line number information, uncomment this to
20
20
# hide the original source file name.
21
- #-renamesourcefileattribute SourceFile
21
+ -renamesourcefileattribute SourceFile
22
+
23
+ # Repackage classes into the top-level.
24
+ -repackageclasses
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ object Libs {
36
36
}
37
37
38
38
object Coroutines {
39
- private const val version = " 1.3.9 "
39
+ private const val version = " 1.4.1 "
40
40
const val core = " org.jetbrains.kotlinx:kotlinx-coroutines-core:$version "
41
41
const val android = " org.jetbrains.kotlinx:kotlinx-coroutines-android:$version "
42
42
const val test = " org.jetbrains.kotlinx:kotlinx-coroutines-test:$version "
Original file line number Diff line number Diff line change @@ -37,3 +37,6 @@ android.useAndroidX=true
37
37
38
38
# Kotlin code style for this project: "official" or "obsolete":
39
39
kotlin.code.style =official
40
+
41
+ # Enable R8 full mode.
42
+ android.enableR8.fullMode =true
You can’t perform that action at this time.
0 commit comments