-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
37 lines (32 loc) · 1.02 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
subprojects {
apply plugin: 'groovy'
version = '1.3.1'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
maven { url = 'https://jitpack.io' }
maven {
url "https://oss.sonatype.org/content/repositories/releases"
}
}
dependencies {
compile 'org.codehaus.groovy:groovy-all:2.3.11'
compile group: 'io.vertx', name: 'vertx-core', version: '3.5.3'
compile 'com.github.bfergerson:vertx-kue:ff10b8d73d'
compile group: 'ai.grakn', name: 'client-java', version: '1.3.0'
compile 'org.mapdb:mapdb:3.0.5'
}
task createProperties(dependsOn: processResources) {
doLast {
new File("$buildDir/resources/main/gitdetective_build.properties").withWriter { w ->
Properties p = new Properties()
p['version'] = project.version.toString()
p.store w, null
}
}
}
classes {
dependsOn createProperties
}
}