geforkt von Mirrors/Velocity
Try and explicitly specify Java 8 in the modules.
Dieser Commit ist enthalten in:
Ursprung
fb888c3b8a
Commit
89e1a07448
@ -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
|
||||||
|
@ -43,11 +43,6 @@ allprojects {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
java {
|
|
||||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
||||||
targetCompatibility = JavaVersion.VERSION_1_8
|
|
||||||
}
|
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenLocal()
|
mavenLocal()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
@ -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}"
|
||||||
|
@ -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"
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren