2018-09-17 10:07:32 +03:00
|
|
|
allprojects {
|
|
|
|
apply plugin: 'eclipse'
|
|
|
|
apply plugin: 'idea'
|
2019-01-09 11:29:54 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
subprojects {
|
|
|
|
apply plugin: 'java'
|
|
|
|
|
2018-09-17 10:07:32 +03:00
|
|
|
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
|
|
|
|
}
|
2019-01-18 01:30:55 +03:00
|
|
|
}
|
|
|
|
|
2019-02-03 14:15:30 +03:00
|
|
|
wrapper {
|
|
|
|
distributionType = Wrapper.DistributionType.ALL
|
|
|
|
}
|
|
|
|
|
2019-01-18 01:30:55 +03:00
|
|
|
defaultTasks 'build'
|