mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
33 lines
671 B
Groovy
33 lines
671 B
Groovy
configure(subprojects.findAll { it.name != 'modules' && it.name != 'Radon' }) {
|
|
apply plugin: 'idea'
|
|
apply plugin: 'eclipse'
|
|
apply plugin: 'java'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven { url 'http://oss.sonatype.org/content/groups/public' }
|
|
maven {
|
|
url "http://clojars.org/repo/"
|
|
}
|
|
}
|
|
|
|
configurations {
|
|
apt
|
|
aptCompileOnly
|
|
aptOnly
|
|
aptOnly.extendsFrom apt, aptCompileOnly
|
|
compile.extendsFrom apt
|
|
compileOnly.extendsFrom aptCompileOnly
|
|
}
|
|
|
|
tasks.withType(JavaCompile) {
|
|
options.encoding = "UTF-8"
|
|
options.annotationProcessorPath = configurations.aptOnly
|
|
}
|
|
}
|
|
|
|
wrapper {
|
|
distributionType = Wrapper.DistributionType.ALL
|
|
}
|
|
|
|
defaultTasks 'build'
|