Skip to content

Commit d98a403

Browse files
committed
Fixing build
1 parent 9b679d5 commit d98a403

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

build.gradle

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ buildscript {
22
ext {
33
springBootVersion = '2.0.2.RELEASE'
44
bintrayPluginVersion = '1.7.3'
5+
bintrayUsername = bintrayUser
6+
bintrayKey = bintrayApiKey
57
}
68
repositories {
79
mavenCentral()
@@ -44,13 +46,10 @@ jar {
4446
version = "${project.version}"
4547
}
4648

47-
ext.bintrayUsername = bintrayUser
48-
ext.bintrayKey = bintrayApiKey
49-
5049
bintray {
5150
user = "$bintrayUsername"
5251
key = "$bintrayKey"
53-
publication = ['MyPublication']
52+
publications = ['MyPublication']
5453
configurations = ['archives']
5554
pkg {
5655
repo = 'sinwe-maven'
@@ -63,7 +62,7 @@ bintray {
6362
}
6463

6564
publishing {
66-
publication {
65+
publications {
6766
MyPublication(MavenPublication) {
6867
from components.java
6968
groupId "${project.group}"

0 commit comments

Comments
 (0)