Skip to content

Commit 9ed3059

Browse files
committed
the bintray upgrade
1 parent 5e48a08 commit 9ed3059

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ buildscript {
2020
allprojects {
2121
repositories {
2222
jcenter()
23+
mavenCentral()
24+
google()
2325
}
2426
}
2527

cacheLib/build.gradle

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ dependencies {
3636
testCompile "junit:junit:${rootProject.ext.junit_version}"
3737
}
3838

39+
/*
40+
* Could not upload to 'https://api.bintray.com/content/dovsnier/AndroidComponent/cacheLib/0.0.5/cacheKit/cacheLib/unspecified/cacheLib-unspecified.pom': HTTP/1.1 400 Bad Request [mes
41+
sage:Unable to upload files: Maven group, artifact or version defined in the pom file do not match the file path 'cacheKit/cacheLib/unspecified/cacheLib-unspecified.pom']
42+
43+
* */
44+
group = 'com.dvsnier'
45+
//version = rootProject.ext.version_name
46+
3947
install {
4048
repositories.mavenInstaller {
4149
pom {
@@ -106,5 +114,13 @@ bintray {
106114
vcsUrl = gitUrl
107115
licenses = ["Apache-2.0"]
108116
publish = true
117+
publicDownloadNumbers = true
118+
// dryRun = true
119+
version {
120+
name = rootProject.ext.version_name
121+
desc = "cacheLib ${rootProject.ext.version_name}"
122+
released = new Date()
123+
vcsTag = rootProject.ext.version_name
124+
}
109125
}
110126
}

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ org.gradle.parallel=true
1818
org.gradle.daemon=true
1919
org.gradle.cache=true
2020
build_gradle_version=3.1.3
21-
android_maven_gradle_plugin=1.5
22-
gradle_bintray_plugin=1.7.1
21+
android_maven_gradle_plugin=2.0
22+
gradle_bintray_plugin=1.8.2

0 commit comments

Comments
 (0)