2018-08-01 06:20:39 +02:00
|
|
|
plugins {
|
2020-08-22 01:09:04 +02:00
|
|
|
id 'java-library'
|
2018-10-28 04:45:35 +01:00
|
|
|
id 'checkstyle'
|
2020-09-23 07:03:18 +02:00
|
|
|
id 'maven-publish'
|
2018-08-01 06:20:39 +02:00
|
|
|
}
|
|
|
|
|
2021-03-31 22:04:06 +02:00
|
|
|
apply plugin: 'org.cadixdev.licenser'
|
2018-10-28 04:45:35 +01:00
|
|
|
apply from: '../gradle/checkstyle.gradle'
|
2020-09-23 07:03:18 +02:00
|
|
|
apply from: '../gradle/publish.gradle'
|
2018-10-28 02:45:42 +01:00
|
|
|
|
2020-11-07 00:52:00 +01:00
|
|
|
java {
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
|
2021-03-31 22:04:06 +02:00
|
|
|
license {
|
|
|
|
header = project.rootProject.file('HEADER.txt')
|
|
|
|
}
|
|
|
|
|
2018-08-01 06:20:39 +02:00
|
|
|
dependencies {
|
2020-08-22 01:09:04 +02:00
|
|
|
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
|
|
|
|
2020-08-22 01:09:04 +02:00
|
|
|
testImplementation "org.junit.jupiter:junit-jupiter-api:${junitVersion}"
|
|
|
|
testImplementation "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
|
2020-09-23 07:05:50 +02:00
|
|
|
}
|
|
|
|
|
2020-12-14 20:39:39 +01:00
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|
|
|
|
|
2020-09-23 07:05:50 +02:00
|
|
|
publishing {
|
|
|
|
publications {
|
|
|
|
mavenJava(MavenPublication) {
|
|
|
|
from components.java
|
|
|
|
}
|
|
|
|
}
|
2018-08-01 06:20:39 +02:00
|
|
|
}
|