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" )})" )

View File

@@ -22,10 +22,6 @@ plugins {
id( "com.jfrog.bintray" ) version "1.8.4"
}
repositories {
jcenter()
}
if( JavaVersion.current() >= JavaVersion.VERSION_1_9 ) {
sourceSets {
create( "module-info" ) {

View File

@@ -21,10 +21,6 @@ plugins {
id( "com.jfrog.bintray" ) version "1.8.4"
}
repositories {
jcenter()
}
dependencies {
implementation( project( ":flatlaf-core" ) )
implementation( "com.miglayout:miglayout-swing:5.2" )