File tree Expand file tree Collapse file tree 7 files changed +4
-13
lines changed
src/main/kotlin/io/github/g00fy2/quickiesample Expand file tree Collapse file tree 7 files changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ import io.gitlab.arturbosch.detekt.extensions.DetektExtension
5
5
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
6
6
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
7
7
8
- @Suppress(" DSL_SCOPE_VIOLATION" )
9
8
plugins {
10
9
alias(libs.plugins.android.application) apply false
11
10
alias(libs.plugins.android.library) apply false
Original file line number Diff line number Diff line change @@ -4,9 +4,4 @@ org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryEr
4
4
# Controls whether Gradle should print a welcome message
5
5
org.gradle.welcome =never
6
6
# Allow usage of AndroidX instead of the old support libraries.
7
- android.useAndroidX =true
8
- # Use R8 in full mode instead of ProGuard compatibility mode.
9
- android.enableR8.fullMode =true
10
- # Enables namespacing of each library's R class so that its R class includes only the resources declared in the library
11
- # itself and none from the library's dependencies
12
- android.nonTransitiveRClass =true
7
+ android.useAndroidX =true
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ androidconfig-compileSdk = "33"
6
6
androidconfig-targetSdk = " 33"
7
7
androidconfig-buildTools = " 33.0.1"
8
8
9
- androidGradle = " 7.4.2 "
9
+ androidGradle = " 8.0.0 "
10
10
kotlin = " 1.8.10"
11
11
12
12
appcompat = " 1.6.1"
Original file line number Diff line number Diff line change 1
1
distributionBase =GRADLE_USER_HOME
2
2
distributionPath =wrapper/dists
3
- distributionUrl =https\://services.gradle.org/distributions/gradle-7.6 .1-bin.zip
3
+ distributionUrl =https\://services.gradle.org/distributions/gradle-8 .1-bin.zip
4
4
networkTimeout =10000
5
5
zipStoreBase =GRADLE_USER_HOME
6
6
zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change 1
- @Suppress(" DSL_SCOPE_VIOLATION" )
2
1
plugins {
3
2
alias(libs.plugins.android.library)
4
3
alias(libs.plugins.kotlin.android)
@@ -13,7 +12,6 @@ android {
13
12
resourcePrefix = " quickie"
14
13
buildFeatures {
15
14
viewBinding = true
16
- buildConfig = false
17
15
}
18
16
flavorDimensions + = " mlkit"
19
17
productFlavors {
Original file line number Diff line number Diff line change 1
- @Suppress(" DSL_SCOPE_VIOLATION" )
2
1
plugins {
3
2
alias(libs.plugins.android.application)
4
3
alias(libs.plugins.kotlin.android)
@@ -32,6 +31,7 @@ android {
32
31
create(" unbundled" ).dimension = " mlkit"
33
32
}
34
33
buildFeatures {
34
+ buildConfig = true
35
35
viewBinding = true
36
36
}
37
37
}
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ package io.github.g00fy2.quickiesample
2
2
3
3
import android.app.Application
4
4
import android.os.StrictMode
5
- import androidx.viewbinding.BuildConfig
6
5
7
6
class SampleApp : Application () {
8
7
You can’t perform that action at this time.
0 commit comments