Skip to content

Commit

Permalink
Update gradle version #56, add some options to the javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
MinusKube committed May 8, 2019
1 parent 3e30aae commit 5757888
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
19 changes: 15 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,22 @@ apply plugin: 'signing'

sourceCompatibility = 1.8

javadoc {
options.links(
'https://hub.spigotmc.org/javadocs/spigot/',
'https://docs.oracle.com/javase/8/docs/api/'
)

options.addStringOption('Xdoclint:none', '-quiet')
}

task javadocJar(type: Jar) {
classifier = 'javadoc'
archiveClassifier = 'javadoc'
from javadoc
}

task sourcesJar(type: Jar) {
classifier = 'sources'
archiveClassifier = 'sources'
from sourceSets.main.allSource
}

Expand All @@ -27,10 +36,12 @@ repositories {
}

dependencies {
compile 'org.spigotmc:spigot-api:1.8.8-R0.1-SNAPSHOT'
implementation 'org.spigotmc:spigot-api:1.8.8-R0.1-SNAPSHOT'
}

jar { archiveName = 'SmartInvs-' + project.version + '.jar' }
jar {
archiveFileName = 'SmartInvs-' + project.version + '.jar'
}

signing {
sign configurations.archives
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip

0 comments on commit 5757888

Please sign in to comment.