Skip to content

Commit

Permalink
fixing jcenter doc archieves issue
Browse files Browse the repository at this point in the history
  • Loading branch information
underwindfall committed Jul 3, 2020
1 parent db87800 commit 7901690
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 45 deletions.
4 changes: 2 additions & 2 deletions dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ext {
// APP VERSION
androidVersionCode = 1
androidVersionName = "1.2.0"
androidVersionName = "1.3.0"

// ANDROID VERSION
androidCompileSdkVersion = 29
Expand Down Expand Up @@ -49,7 +49,7 @@ ext {
mockK = "io.mockk:mockk:$mockKVersion"


publishVersionID = "1.2.0"
publishVersionID = "1.3.0"
groupProjectID = "com.qifan.powerpermission"
userName = "Qifan YANG"
userId = "underwindfall"
Expand Down
14 changes: 6 additions & 8 deletions powerpermission-coroutines/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ task androidSourcesJar(type: Jar) {
from android.sourceSets.main.java.source
}

artifacts {
archives androidSourcesJar
archives androidJavadocsJar
}

afterEvaluate {
publishing {
Expand All @@ -72,6 +68,8 @@ afterEvaluate {
groupId = groupProjectID
artifactId = "powerpermission-coroutines"
version = publishVersionID
artifact androidSourcesJar
artifact androidJavadocsJar
pom {
name = libName
description = descriptionLib
Expand Down Expand Up @@ -112,9 +110,9 @@ bintray {
vcsUrl = gitUrl
licenses = ['Apache-2.0']
publish = true
}

version {
name = publishVersionID
version {
name = publishVersionID
}
publications = ['release']
}
}
15 changes: 6 additions & 9 deletions powerpermission-livedata/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ task androidSourcesJar(type: Jar) {
from android.sourceSets.main.java.source
}

artifacts {
archives androidSourcesJar
archives androidJavadocsJar
}

afterEvaluate {
publishing {
Expand All @@ -70,6 +66,8 @@ afterEvaluate {
groupId = groupProjectID
artifactId = "powerpermission-livedata"
version = publishVersionID
artifact androidSourcesJar
artifact androidJavadocsJar
pom {
name = libName
description = descriptionLib
Expand Down Expand Up @@ -102,17 +100,16 @@ bintray {
user = System.getenv("bintrayUser")
key = System.getenv("bintrayApiKey")

configurations = ['archives']
pkg {
repo = "PowerPermission"
name = "powerpermission-livedata"
websiteUrl = websiteLib
vcsUrl = gitUrl
licenses = ['Apache-2.0']
publish = true
}

version {
name = publishVersionID
version {
name = publishVersionID
}
publications = ['release']
}
}
15 changes: 6 additions & 9 deletions powerpermission-rxjava2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,6 @@ task androidSourcesJar(type: Jar) {
from android.sourceSets.main.java.source
}

artifacts {
archives androidSourcesJar
archives androidJavadocsJar
}

afterEvaluate {
publishing {
Expand All @@ -69,6 +65,8 @@ afterEvaluate {
groupId = groupProjectID
artifactId = "powerpermission-rxjava2"
version = publishVersionID
artifact androidSourcesJar
artifact androidJavadocsJar
pom {
name = libName
description = descriptionLib
Expand Down Expand Up @@ -101,17 +99,16 @@ bintray {
user = System.getenv("bintrayUser")
key = System.getenv("bintrayApiKey")

configurations = ['archives']
pkg {
repo = "PowerPermission"
name = "powerpermission-rxjava2"
websiteUrl = websiteLib
vcsUrl = gitUrl
licenses = ['Apache-2.0']
publish = true
}

version {
name = publishVersionID
version {
name = publishVersionID
}
publications = ['release']
}
}
13 changes: 6 additions & 7 deletions powerpermission-rxjava3/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,6 @@ task androidSourcesJar(type: Jar) {
from android.sourceSets.main.java.source
}

artifacts {
archives androidSourcesJar
archives androidJavadocsJar
}

afterEvaluate {
publishing {
Expand All @@ -70,6 +66,8 @@ afterEvaluate {
groupId = groupProjectID
artifactId = "powerpermission-rxjava3"
version = publishVersionID
artifact androidSourcesJar
artifact androidJavadocsJar
pom {
name = libName
description = descriptionLib
Expand Down Expand Up @@ -110,8 +108,9 @@ bintray {
vcsUrl = gitUrl
licenses = ['Apache-2.0']
publish = true
}
version {
name = publishVersionID
version {
name = publishVersionID
}
publications = ['release']
}
}
16 changes: 6 additions & 10 deletions powerpermission/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -81,18 +81,15 @@ task androidSourcesJar(type: Jar) {
from android.sourceSets.main.java.source
}

artifacts {
archives androidSourcesJar
archives androidJavadocsJar
}

afterEvaluate {
publishing {
publications {
release(MavenPublication) {
groupId = groupProjectID
artifactId = "powerpermission"
version = publishVersionID
artifact androidSourcesJar
artifact androidJavadocsJar
pom {
name = libName
description = descriptionLib
Expand Down Expand Up @@ -125,17 +122,16 @@ bintray {
user = System.getenv("bintrayUser")
key = System.getenv("bintrayApiKey")

configurations = ['archives']
pkg {
repo = "PowerPermission"
name = "powerpermission"
websiteUrl = websiteLib
vcsUrl = gitUrl
licenses = ['Apache-2.0']
publish = true
}

version {
name = publishVersionID
version {
name = publishVersionID
}
publications = ['release']
}
}

0 comments on commit 7901690

Please sign in to comment.