build.gradle.kts: moved jcenter to root script

This commit is contained in:
Karl Tauber
2019-10-16 19:39:41 +02:00
parent fa4e409555
commit 250f435ceb
3 changed files with 6 additions and 8 deletions

View File

@@ -16,6 +16,12 @@
version = "0.13"
allprojects {
repositories {
jcenter()
}
}
// check required Java version
if( JavaVersion.current() < JavaVersion.VERSION_1_8 )
throw RuntimeException( "Java 8 or later required (running ${System.getProperty( "java.version" )})" )