Launcher/build.gradle

40 lines
778 B
Groovy
Raw Normal View History

plugins {
id 'com.github.johnrengelman.shadow' version '5.0.0' apply false
}
configure(subprojects.findAll { it.name != 'modules' && it.name != 'Radon' }) {
2018-09-17 10:07:32 +03:00
apply plugin: 'idea'
apply plugin: 'eclipse'
2019-01-09 11:29:54 +03:00
apply plugin: 'java'
2019-05-03 14:00:01 +03:00
group = 'ru.gravit'
2018-09-17 10:07:32 +03:00
repositories {
mavenCentral()
maven { url 'http://oss.sonatype.org/content/groups/public' }
2018-09-17 10:07:32 +03:00
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'