Skip to content

Commit a0343c8

Browse files
committed
Update Gradle to 5.5
1 parent b386fc2 commit a0343c8

File tree

2 files changed

+4
-21
lines changed

2 files changed

+4
-21
lines changed

build.gradle

+3-20
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ sourceCompatibility = JavaVersion.VERSION_1_8
1414
targetCompatibility = JavaVersion.VERSION_1_8
1515

1616
jar{
17-
baseName = 'JavaBotBlockAPI'
17+
setArchivesBaseName('JavaBotBlockAPI')
1818
}
1919

2020
repositories{
@@ -33,12 +33,12 @@ dependencies{
3333
}
3434

3535
task sourcesJar(type: Jar, dependsOn: classes){
36-
classifier = 'sources'
36+
getArchiveClassifier().set("sources")
3737
from sourceSets.main.allSource
3838
}
3939

4040
task javadocJar(type: Jar, dependsOn: javadoc){
41-
classifier = 'javadoc'
41+
getArchiveClassifier().set("javadoc")
4242
from(javadoc.destinationDir)
4343
}
4444

@@ -74,21 +74,4 @@ publishing{
7474
artifact(sourcesJar)
7575
}
7676
}
77-
/*
78-
repositories{
79-
maven{
80-
name = "GitHubPackages"
81-
url = uri("https://maven.pkg.github.com/botblock/JavaBotBlockAPI")
82-
credentials{
83-
username = "botblock"
84-
password = System.getenv("GITHUB_TOKEN")
85-
}
86-
}
87-
publications{
88-
gpr(MavenPublication){
89-
from(components.java)
90-
}
91-
}
92-
}
93-
*/
9477
}

gradle/wrapper/gradle-wrapper.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#Mon Sep 30 17:27:13 CEST 2019
2-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.8.1-all.zip
2+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.5-all.zip
33
distributionBase=GRADLE_USER_HOME
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)