13
0
geforkt von Mirrors/Velocity

Try and explicitly specify Java 8 in the modules.

Dieser Commit ist enthalten in:
Andrew Steinborn 2020-11-06 18:52:00 -05:00
Ursprung fb888c3b8a
Commit 89e1a07448
4 geänderte Dateien mit 15 neuen und 5 gelöschten Zeilen

Datei anzeigen

@ -8,6 +8,11 @@ apply from: '../gradle/checkstyle.gradle'
apply from: '../gradle/publish.gradle' apply from: '../gradle/publish.gradle'
apply plugin: 'com.github.johnrengelman.shadow' apply plugin: 'com.github.johnrengelman.shadow'
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
sourceSets { sourceSets {
ap { ap {
compileClasspath += main.compileClasspath + main.output compileClasspath += main.compileClasspath + main.output

Datei anzeigen

@ -43,11 +43,6 @@ allprojects {
} }
} }
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
repositories { repositories {
mavenLocal() mavenLocal()
mavenCentral() mavenCentral()

Datei anzeigen

@ -7,6 +7,11 @@ plugins {
apply from: '../gradle/checkstyle.gradle' apply from: '../gradle/checkstyle.gradle'
apply from: '../gradle/publish.gradle' apply from: '../gradle/publish.gradle'
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
dependencies { dependencies {
implementation "com.google.guava:guava:${guavaVersion}" implementation "com.google.guava:guava:${guavaVersion}"
implementation "io.netty:netty-handler:${nettyVersion}" implementation "io.netty:netty-handler:${nettyVersion}"

Datei anzeigen

@ -8,6 +8,11 @@ plugins {
apply from: '../gradle/checkstyle.gradle' apply from: '../gradle/checkstyle.gradle'
apply plugin: 'com.github.johnrengelman.shadow' apply plugin: 'com.github.johnrengelman.shadow'
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
jar { jar {
manifest { manifest {
def buildNumber = System.getenv("BUILD_NUMBER") ?: "unknown" def buildNumber = System.getenv("BUILD_NUMBER") ?: "unknown"