2018-08-01 00:20:39 -04:00
|
|
|
plugins {
|
2020-08-21 19:09:04 -04:00
|
|
|
id 'java-library'
|
2018-10-27 23:45:35 -04:00
|
|
|
id 'checkstyle'
|
2020-09-23 01:03:18 -04:00
|
|
|
id 'maven-publish'
|
2018-08-01 00:20:39 -04:00
|
|
|
}
|
|
|
|
|
2021-03-31 16:04:06 -04:00
|
|
|
apply plugin: 'org.cadixdev.licenser'
|
2018-10-27 23:45:35 -04:00
|
|
|
apply from: '../gradle/checkstyle.gradle'
|
2020-09-23 01:03:18 -04:00
|
|
|
apply from: '../gradle/publish.gradle'
|
2018-10-27 21:45:42 -04:00
|
|
|
|
2020-11-06 18:52:00 -05:00
|
|
|
java {
|
2021-05-23 13:58:01 -04:00
|
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
|
|
targetCompatibility = JavaVersion.VERSION_11
|
2020-11-06 18:52:00 -05:00
|
|
|
}
|
|
|
|
|
2021-03-31 16:04:06 -04:00
|
|
|
license {
|
|
|
|
header = project.rootProject.file('HEADER.txt')
|
|
|
|
}
|
|
|
|
|
2018-08-01 00:20:39 -04:00
|
|
|
dependencies {
|
2020-08-21 19:09:04 -04:00
|
|
|
implementation "com.google.guava:guava:${guavaVersion}"
|
|
|
|
implementation "io.netty:netty-handler:${nettyVersion}"
|
|
|
|
implementation "org.checkerframework:checker-qual:${checkerFrameworkVersion}"
|
2018-10-27 21:45:42 -04:00
|
|
|
|
2020-08-21 19:09:04 -04:00
|
|
|
testImplementation "org.junit.jupiter:junit-jupiter-api:${junitVersion}"
|
|
|
|
testImplementation "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
|
2020-09-23 01:05:50 -04:00
|
|
|
}
|
|
|
|
|
2020-12-14 14:39:39 -05:00
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|
|
|
|
|
2020-09-23 01:05:50 -04:00
|
|
|
publishing {
|
|
|
|
publications {
|
|
|
|
mavenJava(MavenPublication) {
|
|
|
|
from components.java
|
|
|
|
}
|
|
|
|
}
|
2018-08-01 00:20:39 -04:00
|
|
|
}
|