47 lines
838 B
Groovy
47 lines
838 B
Groovy
buildscript {
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
google()
|
|
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
apply plugin: 'eclipse'
|
|
apply plugin: 'idea'
|
|
}
|
|
|
|
configure(subprojects) {
|
|
apply plugin: 'java-library'
|
|
sourceCompatibility = 8.0
|
|
compileJava {
|
|
options.incremental = true
|
|
}
|
|
}
|
|
|
|
subprojects {
|
|
version = '0.0.1-SNAPSHOT'
|
|
ext.appName = 'Collevtor'
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
|
|
maven { url 'https://jitpack.io' }
|
|
maven { url "https://dl.bintray.com/kotlin/kotlin-dev" } // for Kotlin
|
|
|
|
jcenter()
|
|
}
|
|
}
|
|
|
|
// Clearing Eclipse project data in root folder:
|
|
tasks.eclipse.doLast {
|
|
delete '.project'
|
|
delete '.classpath'
|
|
delete '.settings/'
|
|
}
|