[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 {
|
||||
group 'imgui-java'
|
||||
version property('version')
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
}
|
||||
}
|
||||
|
||||
tasks.register('upVersion', UpVersion)
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package imgui.generate
|
||||
package tool.generator
|
||||
|
||||
import com.badlogic.gdx.jnigen.*
|
||||
import groovy.transform.CompileStatic
|
||||
@@ -6,8 +6,6 @@ plugins {
|
||||
id 'signing'
|
||||
}
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import imgui.generate.GenerateLibs
|
||||
import tool.generator.GenerateLibs
|
||||
|
||||
plugins {
|
||||
id 'java'
|
||||
@@ -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'
|
||||
|
||||
@@ -5,8 +5,6 @@ plugins {
|
||||
id 'signing'
|
||||
}
|
||||
|
||||
sourceCompatibility = 1.8
|
||||
|
||||
dependencies {
|
||||
implementation platform("org.lwjgl:lwjgl-bom:3.2.3")
|
||||
|
||||
|
||||
Reference in new issue
Block a user