File tree Expand file tree Collapse file tree 3 files changed +11
-13
lines changed
Expand file tree Collapse file tree 3 files changed +11
-13
lines changed Original file line number Diff line number Diff line change 11apply plugin : ' com.android.library'
22apply plugin : ' maven-publish'
33apply plugin : ' signing'
4- apply plugin : ' io.codearte.nexus-staging'
54
65group = " com.uwetrottmann.androidutils"
76version = " 2.3.2-SNAPSHOT"
@@ -32,15 +31,6 @@ dependencies {
3231 implementation " androidx.appcompat:appcompat:1.2.0"
3332}
3433
35- nexusStaging {
36- packageGroup = " com.uwetrottmann"
37- if (rootProject. hasProperty(' SONATYPE_NEXUS_USERNAME' )
38- && rootProject. hasProperty(' SONATYPE_NEXUS_PASSWORD' )) {
39- username = SONATYPE_NEXUS_USERNAME
40- password = SONATYPE_NEXUS_PASSWORD
41- }
42- }
43-
4434task androidJavadocs (type : Javadoc ) {
4535 source = android. sourceSets. main. java. srcDirs
4636 classpath + = project. files(android. getBootClasspath(). join(File . pathSeparator))
Original file line number Diff line number Diff line change @@ -14,6 +14,17 @@ buildscript {
1414 }
1515}
1616
17+ apply plugin : ' io.codearte.nexus-staging'
18+
19+ nexusStaging {
20+ packageGroup = " com.uwetrottmann"
21+ if (rootProject. hasProperty(' SONATYPE_NEXUS_USERNAME' )
22+ && rootProject. hasProperty(' SONATYPE_NEXUS_PASSWORD' )) {
23+ username = SONATYPE_NEXUS_USERNAME
24+ password = SONATYPE_NEXUS_PASSWORD
25+ }
26+ }
27+
1728apply plugin : ' com.github.ben-manes.versions'
1829
1930// reject preview releases for dependencyUpdates task
Original file line number Diff line number Diff line change 11android.useAndroidX =true
2-
3- # Allow io.codearte.nexus-staging (gradle-nexus-staging-plugin) to be applied to non-root project.
4- gnsp.disableApplyOnlyOnRootProjectEnforcement =true
You can’t perform that action at this time.
0 commit comments