Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #1631, Disable BuildConfig for android modules #1642

Merged
merged 1 commit into from
Sep 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion android/koin-android-compat/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,15 @@ android {
minSdkVersion android_min_version
// testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}

buildFeatures {
buildConfig false
}
}

dependencies {
// Koin
api project(":koin-android")
}

apply from: '../../gradle/publish-to-central.gradle'
apply from: '../../gradle/publish-to-central.gradle'
6 changes: 5 additions & 1 deletion android/koin-android-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ android {
minSdkVersion android_min_version
}

buildFeatures {
buildConfig false
}

compileOptions {
sourceCompatibility 1.8
targetCompatibility 1.8
Expand All @@ -32,4 +36,4 @@ dependencies {

}

apply from: '../../gradle/publish-to-central.gradle'
apply from: '../../gradle/publish-to-central.gradle'
4 changes: 4 additions & 0 deletions android/koin-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ android {
minSdkVersion android_min_version
}

buildFeatures {
buildConfig false
}

compileOptions {
sourceCompatibility 1.8
targetCompatibility 1.8
Expand Down
6 changes: 5 additions & 1 deletion android/koin-androidx-navigation/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ android {

}

buildFeatures {
buildConfig false
}

kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
}
Expand All @@ -34,4 +38,4 @@ dependencies {
api "androidx.navigation:navigation-fragment-ktx:2.5.3"
}

apply from: '../../gradle/publish-to-central.gradle'
apply from: '../../gradle/publish-to-central.gradle'
6 changes: 5 additions & 1 deletion android/koin-androidx-workmanager/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ android {

}

buildFeatures {
buildConfig false
}

kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
}
Expand All @@ -38,4 +42,4 @@ dependencies {
testImplementation "org.mockito:mockito-inline:$mockito_version"
}

apply from: '../../gradle/publish-to-central.gradle'
apply from: '../../gradle/publish-to-central.gradle'
1 change: 1 addition & 0 deletions compose/koin-androidx-compose-navigation/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ android {

buildFeatures {
compose true
buildConfig false
}

composeOptions {
Expand Down
1 change: 1 addition & 0 deletions compose/koin-androidx-compose/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ android {

buildFeatures {
compose true
buildConfig false
}

composeOptions {
Expand Down
Loading