Skip to content

Commit

Permalink
[Build] Move sourceCompatibility option to the root build file
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaiR committed Aug 29, 2021
1 parent a4dd33e commit 255f2e2
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,14 @@ import tool.UpVersion
allprojects {
group 'imgui-java'
version property('version')

repositories {
mavenCentral()
}

tasks.withType(JavaCompile) {
sourceCompatibility = JavaVersion.VERSION_1_8
}
}

tasks.register('upVersion', UpVersion)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package imgui.generate
package tool.generator

import com.badlogic.gdx.jnigen.*
import groovy.transform.CompileStatic
Expand Down
2 changes: 0 additions & 2 deletions imgui-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ plugins {
id 'signing'
}

sourceCompatibility = 1.8

repositories {
mavenCentral()
}
Expand Down
4 changes: 1 addition & 3 deletions imgui-binding/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import imgui.generate.GenerateLibs
import tool.generator.GenerateLibs

plugins {
id 'java'
Expand All @@ -7,8 +7,6 @@ plugins {
id 'signing'
}

sourceCompatibility = 1.8

dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.5.2'
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.5.2'
Expand Down
2 changes: 0 additions & 2 deletions imgui-lwjgl3/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ plugins {
id 'signing'
}

sourceCompatibility = 1.8

dependencies {
implementation platform("org.lwjgl:lwjgl-bom:3.2.3")

Expand Down

0 comments on commit 255f2e2

Please sign in to comment.