From 5579f763168291617d4a4dab21730b61b2ae48a4 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Sat, 5 Jun 2021 20:17:24 -0400 Subject: [PATCH] a --- implementation-java-edition/build.gradle | 31 ++++++++++++++++++++++++ settings.gradle | 4 +-- 2 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 implementation-java-edition/build.gradle diff --git a/implementation-java-edition/build.gradle b/implementation-java-edition/build.gradle new file mode 100644 index 000000000..ea6925a2c --- /dev/null +++ b/implementation-java-edition/build.gradle @@ -0,0 +1,31 @@ +plugins { + id 'java-library' + id 'checkstyle' +} + +apply plugin: 'org.cadixdev.licenser' +apply from: '../gradle/checkstyle.gradle' +apply from: '../gradle/errorprone.gradle' + +java { + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 +} + +license { + header = project.rootProject.file('HEADER.txt') +} + +dependencies { + implementation project(':velocity-api') + implementation project(':velocity-native') + implementation project(':velocity-proxy-core') + + implementation "io.netty:netty-codec:${nettyVersion}" + implementation "io.netty:netty-codec-haproxy:${nettyVersion}" + implementation "io.netty:netty-codec-http:${nettyVersion}" + implementation "io.netty:netty-handler:${nettyVersion}" + implementation "io.netty:netty-transport-native-epoll:${nettyVersion}" + implementation "io.netty:netty-transport-native-epoll:${nettyVersion}:linux-x86_64" + implementation "io.netty:netty-transport-native-epoll:${nettyVersion}:linux-aarch_64" +} \ No newline at end of file diff --git a/settings.gradle b/settings.gradle index 31acc63aa..4a3a514e8 100644 --- a/settings.gradle +++ b/settings.gradle @@ -2,9 +2,9 @@ rootProject.name = 'velocity' include( 'api', 'proxy-core', + 'implementation-java-edition', 'proxy', 'native', - 'network', 'annotation-processor' ) findProject(':annotation-processor')?.name = 'velocity-annotation-processor' @@ -12,4 +12,4 @@ findProject(':api')?.name = 'velocity-api' findProject(':proxy')?.name = 'velocity-proxy' findProject(':proxy-core')?.name = 'velocity-proxy-core' findProject(':native')?.name = 'velocity-native' -findProject(':network')?.name = 'velocity-network' \ No newline at end of file +findProject(':implementation-java-edition')?.name = 'velocity-implementation-java-edition' \ No newline at end of file