Skip to content

Commit

Permalink
Change source compatibility to 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
founderio committed Dec 15, 2018
1 parent e99948e commit 8b8164a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ version = config.mod_version
group = config.mod_group
archivesBaseName = "${config.mod_name}-${config.mc_version}"

sourceCompatibility = targetCompatibility = '1.8' // Need this here so eclipse task generates correctly.
compileJava {
sourceCompatibility = targetCompatibility = '1.8'
}

if(System.env.BUILD_NUMBER)
version = "${config.mod_version}.b${System.env.BUILD_NUMBER}"
Expand Down

0 comments on commit 8b8164a

Please sign in to comment.