Skip to content

Commit

Permalink
Update Gradle to 5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre601 committed Dec 23, 2019
1 parent b386fc2 commit a0343c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 21 deletions.
23 changes: 3 additions & 20 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

jar{
baseName = 'JavaBotBlockAPI'
setArchivesBaseName('JavaBotBlockAPI')
}

repositories{
Expand All @@ -33,12 +33,12 @@ dependencies{
}

task sourcesJar(type: Jar, dependsOn: classes){
classifier = 'sources'
getArchiveClassifier().set("sources")
from sourceSets.main.allSource
}

task javadocJar(type: Jar, dependsOn: javadoc){
classifier = 'javadoc'
getArchiveClassifier().set("javadoc")
from(javadoc.destinationDir)
}

Expand Down Expand Up @@ -74,21 +74,4 @@ publishing{
artifact(sourcesJar)
}
}
/*
repositories{
maven{
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/botblock/JavaBotBlockAPI")
credentials{
username = "botblock"
password = System.getenv("GITHUB_TOKEN")
}
}
publications{
gpr(MavenPublication){
from(components.java)
}
}
}
*/
}
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Mon Sep 30 17:27:13 CEST 2019
distributionUrl=https\://services.gradle.org/distributions/gradle-4.8.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.5-all.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
Expand Down

0 comments on commit a0343c8

Please sign in to comment.