[Build] Move sourceCompatibility option to the root build file
This commit is contained in:
1 parent
a4dd33e421
commit
255f2e2286
5 files changed
+7
-8
No files matched your search
@@ -3,9 +3,14 @@ import tool.UpVersion
|
|||||||
allprojects {
|
allprojects {
|
||||||
group 'imgui-java'
|
group 'imgui-java'
|
||||||
version property('version')
|
version property('version')
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.withType(JavaCompile) {
|
||||||
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.register('upVersion', UpVersion)
|
tasks.register('upVersion', UpVersion)
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package imgui.generate
|
package tool.generator
|
||||||
|
|
||||||
import com.badlogic.gdx.jnigen.*
|
import com.badlogic.gdx.jnigen.*
|
||||||
import groovy.transform.CompileStatic
|
import groovy.transform.CompileStatic
|
||||||
@@ -6,8 +6,6 @@ plugins {
|
|||||||
id 'signing'
|
id 'signing'
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceCompatibility = 1.8
|
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import imgui.generate.GenerateLibs
|
import tool.generator.GenerateLibs
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id 'java'
|
id 'java'
|
||||||
@@ -7,8 +7,6 @@ plugins {
|
|||||||
id 'signing'
|
id 'signing'
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceCompatibility = 1.8
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.5.2'
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.5.2'
|
||||||
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.5.2'
|
testImplementation 'org.junit.jupiter:junit-jupiter-engine:5.5.2'
|
||||||
|
|||||||
@@ -5,8 +5,6 @@ plugins {
|
|||||||
id 'signing'
|
id 'signing'
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceCompatibility = 1.8
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation platform("org.lwjgl:lwjgl-bom:3.2.3")
|
implementation platform("org.lwjgl:lwjgl-bom:3.2.3")
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user