File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 2020 export SHOULD_PUBLISH=true
2121
2222 printf %" s\n" " Attempting to build and publish version $THE_VERSION "
23+ # Publish a release to the Maven repo
2324 # "$ANDROID_PATH"/gradlew clean build publishReleasePublicationToSonatypeRepository closeAndReleaseSonatypeStagingRepository --no-daemon --max-workers 1 -b "$ANDROID_PATH"/build.gradle -Pandroid.useAndroidX=true > $LOG_OUTPUT 2>&1
25+ # Stage a version
2426 " $ANDROID_PATH " /gradlew clean build publishReleasePublicationToSonatypeRepository --no-daemon --max-workers 1 -b " $ANDROID_PATH " /build.gradle -Pandroid.useAndroidX=true > $LOG_OUTPUT 2>&1
2527
2628 echo $RESULT
Original file line number Diff line number Diff line change @@ -5,13 +5,8 @@ def LIB_VERSION = System.getenv('THE_VERSION')
55
66task androidSourcesJar (type : Jar ) {
77 archiveClassifier. set(' sources' )
8- // if (project.plugins.findPlugin("com.android.library")) {
9- from android. sourceSets. main. java. srcDirs
10- from android. sourceSets. main. kotlin. srcDirs
11- // } else {
12- // from sourceSets.main.java.srcDirs
13- // from sourceSets.main.kotlin.srcDirs
14- // }
8+ from android. sourceSets. main. java. srcDirs
9+ from android. sourceSets. main. kotlin. srcDirs
1510}
1611
1712artifacts {
You can’t perform that action at this time.
0 commit comments