mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 11:39:11 +03:00
7c3c2e8aaa
* [FIX] Теперь в проектах без исходного кода не появляются файлы gradle и idea. * [FIX] Правильное название rootProject. * [ANY] Обновлены модули.
32 lines
583 B
Groovy
32 lines
583 B
Groovy
configure(subprojects.findAll {it.name != 'modules'}) {
|
|
apply plugin: 'idea'
|
|
apply plugin: 'eclipse'
|
|
apply plugin: 'java'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
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'
|