File tree Expand file tree Collapse file tree 2 files changed +4
-21
lines changed Expand file tree Collapse file tree 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
1414targetCompatibility = JavaVersion . VERSION_1_8
1515
1616jar {
17- baseName = ' JavaBotBlockAPI'
17+ setArchivesBaseName( ' JavaBotBlockAPI' )
1818}
1919
2020repositories {
@@ -33,12 +33,12 @@ dependencies{
3333}
3434
3535task sourcesJar (type : Jar , dependsOn : classes){
36- classifier = ' sources'
36+ getArchiveClassifier() . set( " sources" )
3737 from sourceSets. main. allSource
3838}
3939
4040task 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}
Original file line number Diff line number Diff line change 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
33distributionBase =GRADLE_USER_HOME
44distributionPath =wrapper/dists
55zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments