forked from docker-production-aws/microtrader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
34 lines (30 loc) · 870 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
dependencies {
compile project(':microtrader-common')
compile "io.vertx:vertx-service-proxy:$vertxVersion"
compile "io.vertx:vertx-codegen:$vertxVersion"
}
task annotationProcessing(type: JavaCompile, group: 'build') {
source = sourceSets.main.java
classpath = configurations.compile + configurations.compileOnly
destinationDir = project.file('src/main/generated')
options.compilerArgs = [
"-proc:only",
"-processor", "io.vertx.codegen.CodeGenProcessor",
"-Acodegen.output=${project.projectDir}/src/main"
]
}
compileJava {
dependsOn annotationProcessing
}
sourceSets {
main {
java {
srcDirs += 'src/main/generated'
}
}
}
shadowJar {
manifest {
attributes 'Main-Verticle': 'com.pluralsight.dockerproductionaws.portfolio.PortfolioVerticle'
}
}