✨ Borrow some stuff from sewer
This commit is contained in:
parent
a43c3e9145
commit
ab9860352c
1 changed files with 6 additions and 18 deletions
24
build.gradle
24
build.gradle
|
|
@ -25,7 +25,6 @@ allprojects {
|
||||||
apply plugin: 'idea'
|
apply plugin: 'idea'
|
||||||
apply plugin: 'checkstyle'
|
apply plugin: 'checkstyle'
|
||||||
apply plugin: 'com.github.hierynomus.license'
|
apply plugin: 'com.github.hierynomus.license'
|
||||||
apply plugin: 'com.bmuschko.nexus'
|
|
||||||
|
|
||||||
group = 'cloud.commandframework'
|
group = 'cloud.commandframework'
|
||||||
version = '0.3.0-SNAPSHOT'
|
version = '0.3.0-SNAPSHOT'
|
||||||
|
|
@ -39,12 +38,6 @@ allprojects {
|
||||||
mapping 'java', 'DOUBLESLASH_STYLE'
|
mapping 'java', 'DOUBLESLASH_STYLE'
|
||||||
includes(["**/*.java"])
|
includes(["**/*.java"])
|
||||||
}
|
}
|
||||||
|
|
||||||
nexus {
|
|
||||||
sign = false
|
|
||||||
repositoryUrl = 'https://mvn.intellectualsites.com/content/repositories/releases/'
|
|
||||||
snapshotRepositoryUrl = 'https://mvn.intellectualsites.com/content/repositories/snapshots/'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
subprojects {
|
subprojects {
|
||||||
|
|
@ -57,14 +50,9 @@ subprojects {
|
||||||
useJUnitPlatform()
|
useJUnitPlatform()
|
||||||
}
|
}
|
||||||
|
|
||||||
task publishingSourcesJar(type: Jar) {
|
java {
|
||||||
from sourceSets.main.allJava
|
withSourcesJar()
|
||||||
archiveClassifier.set('sources')
|
withJavadocJar()
|
||||||
}
|
|
||||||
|
|
||||||
task publishingJavadocJar(type: Jar) {
|
|
||||||
from javadoc
|
|
||||||
archiveClassifier.set('javadoc')
|
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
|
|
@ -114,7 +102,7 @@ subprojects {
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly 'org.checkerframework:checker-qual:3.5.0'
|
compileOnly 'org.checkerframework:checker-qual:3.5.0'
|
||||||
api 'io.leangen.geantyref:geantyref:0.3.4'
|
api 'io.leangen.geantyref:geantyref:1.3.11'
|
||||||
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
|
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -129,8 +117,8 @@ subprojects {
|
||||||
maven(MavenPublication) {
|
maven(MavenPublication) {
|
||||||
from components.java
|
from components.java
|
||||||
|
|
||||||
artifact publishingJavadocJar
|
artifact javadocJar
|
||||||
artifact publishingSourcesJar
|
artifact sourcesJar
|
||||||
|
|
||||||
pom {
|
pom {
|
||||||
name = project.name
|
name = project.name
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue