Skip to content

Commit 4c030ef

Browse files
add othere file related to gradle 8 changes
1 parent 9b4e0a2 commit 4c030ef

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Mon Oct 04 12:58:48 PDT 2021
21
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
42
distributionPath=wrapper/dists
5-
zipStorePath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-all.zip
4+
networkTimeout=10000
65
zipStoreBase=GRADLE_USER_HOME
6+
zipStorePath=wrapper/dists

scripts/maven.gradle

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,16 @@ allprojects {
66
ext."signing.secretKeyRingFile" = System.getenv("mavenSigningKeyRingFile")
77
ext."signing.password" = System.getenv("mavenSigningKeyPassword")
88
}
9-
9+
// For AGP 8.x compatibility, configure Android library projects
10+
if (project.plugins.findPlugin("com.android.library")) {
11+
android {
12+
publishing {
13+
// Configure publishing for both variants
14+
singleVariant("release")
15+
singleVariant("debug")
16+
}
17+
}
18+
}
1019
afterEvaluate {
1120
publishing {
1221
publications {
@@ -115,5 +124,5 @@ afterEvaluate {
115124
}
116125

117126
//Publishing task aliases for simpler local development
118-
task publishLocal { dependsOn "publishDebugPublicationToMavenLocal" }
119-
task publishReleaseLocal { dependsOn "publishReleasePublicationToMavenLocal" }
127+
task publishLocal { dependsOn "publishDebugPublicationToMavenLocal"}
128+
task publishReleaseLocal { dependsOn "publishReleasePublicationToMavenLocal"}

0 commit comments

Comments
 (0)