3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-12-27 08:30:18 +01:00
Velocity/native/build.gradle

34 Zeilen
801 B
Groovy

plugins {
id 'java-library'
id 'checkstyle'
id 'maven-publish'
}
apply from: '../gradle/checkstyle.gradle'
apply from: '../gradle/publish.gradle'
2018-10-28 02:45:42 +01:00
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
dependencies {
implementation "com.google.guava:guava:${guavaVersion}"
implementation "io.netty:netty-handler:${nettyVersion}"
implementation "org.checkerframework:checker-qual:${checkerFrameworkVersion}"
2018-10-28 02:45:42 +01:00
testImplementation "org.junit.jupiter:junit-jupiter-api:${junitVersion}"
testImplementation "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
}
test {
useJUnitPlatform()
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}