Skip to content

Commit

Permalink
Clean up Gradle files (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikc5000 authored Jul 12, 2020
1 parent f273834 commit a06a786
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 2 additions & 4 deletions buildSrc/src/main/kotlin/android-library.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@ android {
targetCompatibility = JavaVersion.VERSION_1_8
}

libraryVariants.configureEach {
generateBuildConfigProvider?.configure {
enabled = false
}
buildFeatures {
buildConfig = false
}
}

Expand Down
4 changes: 0 additions & 4 deletions buildSrc/src/main/kotlin/multiplatform-library.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ kotlin {
}
}

configure(darwinTargets) {
compilations["main"].kotlinOptions.freeCompilerArgs += "-Xobjc-generics"
}

// Workaround for https://youtrack.jetbrains.com/issue/KT-36721
targets.withType<KotlinNativeTarget>().configureEach {
val moduleName = "${project.group}.${project.name}"
Expand Down

0 comments on commit a06a786

Please sign in to comment.