Skip to content

Commit

Permalink
fix: try to resolve maven central "close failure"
Browse files Browse the repository at this point in the history
  • Loading branch information
2BAB committed Mar 19, 2022
1 parent 7476dba commit 62820fc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ val aggregateJars by tasks.registering {
output.mkdir()
subprojects {
File(buildDir.absolutePath + File.separator + "libs").walk()
.filter { it.name.startsWith("polyfill") && it.extension == "jar" }
.filter { it.name.startsWith(this.name) && it.extension == "jar" }
.forEach { it.copyTo(File(output, it.name)) }
}
}
Expand Down
2 changes: 1 addition & 1 deletion publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
MODULE_ARRAY=('android-arsc-parser' 'android-manifest-parser' 'polyfill')
for module in "${MODULE_ARRAY[@]}"
do
./gradlew :"$module":publishAllPublicationsToSonatypeRepository
./gradlew :"$module":publishPolyfillArtifactPublicationToSonatypeRepository
done

./gradlew aggregateJars releaseArtifactsToGithub
2 changes: 1 addition & 1 deletion publish_to_local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
MODULE_ARRAY=('android-arsc-parser' 'android-manifest-parser' 'polyfill')
for module in "${MODULE_ARRAY[@]}"
do
./gradlew clean :"$module":publishToMavenLocal
./gradlew clean :"$module":publishPolyfillArtifactPublicationToMavenLocal
done

0 comments on commit 62820fc

Please sign in to comment.