File tree 2 files changed +4
-21
lines changed
2 files changed +4
-21
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ sourceCompatibility = JavaVersion.VERSION_1_8
14
14
targetCompatibility = JavaVersion . VERSION_1_8
15
15
16
16
jar {
17
- baseName = ' JavaBotBlockAPI'
17
+ setArchivesBaseName( ' JavaBotBlockAPI' )
18
18
}
19
19
20
20
repositories {
@@ -33,12 +33,12 @@ dependencies{
33
33
}
34
34
35
35
task sourcesJar (type : Jar , dependsOn : classes){
36
- classifier = ' sources'
36
+ getArchiveClassifier() . set( " sources" )
37
37
from sourceSets. main. allSource
38
38
}
39
39
40
40
task javadocJar (type : Jar , dependsOn : javadoc){
41
- classifier = ' javadoc'
41
+ getArchiveClassifier() . set( " javadoc" )
42
42
from(javadoc. destinationDir)
43
43
}
44
44
@@ -74,21 +74,4 @@ publishing{
74
74
artifact(sourcesJar)
75
75
}
76
76
}
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
- */
94
77
}
Original file line number Diff line number Diff line change 1
1
# 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
3
3
distributionBase =GRADLE_USER_HOME
4
4
distributionPath =wrapper/dists
5
5
zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments