[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)
|
||||
|
||||
Reference in new issue
Block a user