Skip to content
This repository was archived by the owner on Feb 19, 2019. It is now read-only.

Commit 421663e

Browse files
author
LeafHacker
committed
Ensure java version is always set
For some reason compatibility level should be set both inside and outside of compileJava
1 parent e88fd21 commit 421663e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ apply plugin: 'com.github.johnrengelman.shadow'
2929
version '1.0'
3030
group 'me.zero.api'
3131

32+
sourceCompatibility = targetCompatibility = "1.8"
3233
compileJava {
3334
sourceCompatibility = targetCompatibility = '1.8'
3435
}

0 commit comments

Comments
 (0)