Skip to content

Commit 08c6953

Browse files
refactor: remove commented lines
References: https://outsystemsrd.atlassian.net/browse/RMET-3975
1 parent 7465e91 commit 08c6953

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

scripts/publish-android.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ else
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

scripts/publish-module.gradle

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,8 @@ def LIB_VERSION = System.getenv('THE_VERSION')
55

66
task 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

1712
artifacts {

0 commit comments

Comments
 (0)