Skip to content

Commit 69293c4

Browse files
committed
Really removed BuildConfig from libraries, v1.0.1
1 parent 7f964bd commit 69293c4

File tree

9 files changed

+18
-18
lines changed

9 files changed

+18
-18
lines changed

.idea/misc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.gradle

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@ allprojects {
2424
maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' }
2525
}
2626

27+
// Disable BuildConfig generation for Android library modules so javac can be skipped altogether.
28+
plugins.whenPluginAdded {
29+
if (it instanceof LibraryPlugin) {
30+
extensions.getByType(LibraryExtension).libraryVariants.all {
31+
// TODO replace with https://issuetracker.google.com/issues/72050365 once released.
32+
it.generateBuildConfig.enabled = false
33+
}
34+
}
35+
}
36+
2737
group = "net.xpece.androidx.optical"
2838
}
2939

3040
task clean(type: Delete) {
3141
delete rootProject.buildDir
3242
}
33-
34-
// Disable BuildConfig generation for Android library modules so javac can be skipped altogether.
35-
plugins.whenPluginAdded {
36-
if (it instanceof LibraryPlugin) {
37-
extensions.getByType(LibraryExtension).libraryVariants.all {
38-
// TODO replace with https://issuetracker.google.com/issues/72050365 once released.
39-
it.generateBuildConfig.enabled = false
40-
}
41-
}
42-
}

insets/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ dependencies {
4848

4949
apply from: rootProject.file('android-tasks.gradle')
5050

51-
version = '1.0.0'
51+
version = '1.0.1'
5252

5353
publishing {
5454
publications {

platform-insets/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies {
1616
sourceCompatibility = "6"
1717
targetCompatibility = "6"
1818

19-
version = '1.0.0'
19+
version = '1.0.1'
2020

2121
publishing {
2222
publications {

root-constraint-layout/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ dependencies {
4343

4444
apply from: rootProject.file('android-tasks.gradle')
4545

46-
version = '1.0.0'
46+
version = '1.0.1'
4747

4848
publishing {
4949
publications {

root-coordinator-layout/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ dependencies {
4040
testImplementation "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
4141
}
4242

43-
version = '1.0.0'
43+
version = '1.0.1'
4444

4545
apply from: rootProject.file('android-tasks.gradle')
4646

root-frame-layout/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ dependencies {
3838
testImplementation "org.robolectric:robolectric:3.8"
3939
}
4040

41-
version = '1.0.0'
41+
version = '1.0.1'
4242

4343
apply from: rootProject.file('android-tasks.gradle')
4444

root-linear-layout/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ dependencies {
3838
testImplementation "org.robolectric:robolectric:3.8"
3939
}
4040

41-
version = '1.0.0'
41+
version = '1.0.1'
4242

4343
apply from: rootProject.file('android-tasks.gradle')
4444

widget-cardview/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ dependencies {
4040
testImplementation "org.robolectric:robolectric:3.8"
4141
}
4242

43-
version = '1.0.0'
43+
version = '1.0.1'
4444

4545
apply from: rootProject.file('android-tasks.gradle')
4646

0 commit comments

Comments
 (0)