-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
38 lines (34 loc) · 799 Bytes
/
build.gradle
File metadata and controls
38 lines (34 loc) · 799 Bytes
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
35
36
37
38
plugins {
id "application"
}
apply plugin : "java"
ext {
javaMainClass = "org.example.test.Java11Compatible"
}
application {
mainClassName = javaMainClass
}
plugins.withType(JavaPlugin).configureEach {
java {
modularity.inferModulePath = true
tasks.withType(JavaCompile) {
doFirst {
options.compilerArgs = [
'--module-path', classpath.asPath,
]
classpath = files()
}
}
}
}
repositories {
mavenCentral()
maven {
url "https://dl.bintray.com/linkedin/maven"
}
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compile "com.linkedin.avroutil1:avro-fastserde:0.2.1"
compile "org.apache.avro:avro:1.9.2"
}