-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
49 lines (41 loc) · 1.29 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'jsonschema2pojo'
apply plugin: 'groovy'
apply plugin: 'application'
apply plugin: 'com.github.johnrengelman.shadow'
group = 'io.acme'
version = '0.0.1-SNAPSHOT'
description = """"""
sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
mainClassName = 'io.radanalytics.operator.Entrypoint'
buildscript {
repositories {
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'org.jsonschema2pojo:jsonschema2pojo-gradle-plugin:1.0.0-beta1'
classpath 'com.github.jengelman.gradle.plugins:shadow:4.0.1'
}
}
jsonSchema2Pojo {
source = files("${sourceSets.main.output.resourcesDir}/schema")
targetPackage = 'io.operator.types'
}
repositories {
maven { url "https://oss.sonatype.org/content/repositories/releases" }
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
maven { url "https://repo.maven.apache.org/maven2" }
}
dependencies {
compile group: 'io.radanalytics', name: 'abstract-operator', version:'0.3.5'
compile group: 'org.codehaus.groovy', name: 'groovy-all', version: '2.4.8'
testCompile group: 'junit', name: 'junit', version:'4.12'
}