mirror of
https://github.com/PaperMC/Velocity.git
synced 2024-11-27 06:30:35 +08:00
29 lines
692 B
Groovy
29 lines
692 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'com.github.johnrengelman.shadow' version '2.0.4'
|
|
}
|
|
|
|
dependencies {
|
|
compile 'com.google.code.gson:gson:2.8.5'
|
|
compile "com.google.guava:guava:${guavaVersion}"
|
|
compile 'net.kyori:text:1.12-1.6.0-SNAPSHOT'
|
|
compile 'com.moandjiezana.toml:toml4j:0.7.2'
|
|
testCompile "org.junit.jupiter:junit-jupiter-api:${junitVersion}"
|
|
testCompile "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
|
|
}
|
|
|
|
task javadocJar(type: Jar) {
|
|
classifier 'javadoc'
|
|
from javadoc
|
|
}
|
|
|
|
task sourcesJar(type: Jar) {
|
|
classifier 'sources'
|
|
from sourceSets.main.allSource
|
|
}
|
|
|
|
artifacts {
|
|
archives javadocJar
|
|
archives shadowJar
|
|
archives sourcesJar
|
|
} |