Import the generated build.xml into gradle build file.
This commit is contained in:
parent
ae7f36659f
commit
b39149f9c2
|
|
@ -6,8 +6,8 @@
|
|||
**/classes_jchr/*
|
||||
.mps/workspace.xml
|
||||
.idea/workspace.xml
|
||||
.gradle
|
||||
out
|
||||
build/*
|
||||
config/*
|
||||
system/*
|
||||
|
||||
|
|
|
|||
10
build.gradle
10
build.gradle
|
|
@ -1,4 +1,6 @@
|
|||
defaultTasks 'init'
|
||||
/*defaultTasks 'init'*/
|
||||
|
||||
ant.importBuild('build.xml')
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
|
|
@ -15,3 +17,9 @@ task init(dependsOn: alldependencies) {
|
|||
println 'Initialized all dependencies.'
|
||||
}
|
||||
}
|
||||
|
||||
task buildAll(dependsOn: ['init', 'clean', 'build']) {
|
||||
doLast {
|
||||
println 'Build finished.'
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,8 +19,8 @@ dependencies {
|
|||
}
|
||||
|
||||
task downloadReactor {
|
||||
ant.get(src: 'https://github.com/fisakov/conreactor/releases/download/v0.9-snapshot.1/conreactor-api-0.9.jar', dest: 'lib', skipexisting: 'true')
|
||||
ant.get(src: 'https://github.com/fisakov/conreactor/releases/download/v0.9-snapshot.1/conreactor-core-0.9.jar', dest: 'lib', skipexisting: 'true')
|
||||
ant.get(src: 'https://github.com/fisakov/conreactor/releases/download/v0.9-snapshot.1/conreactor-api-0.9.jar', dest: 'lib', usetimestamp: 'true', skipexisting: 'true')
|
||||
ant.get(src: 'https://github.com/fisakov/conreactor/releases/download/v0.9-snapshot.1/conreactor-core-0.9.jar', dest: 'lib', usetimestamp: 'true', skipexisting: 'true')
|
||||
}
|
||||
|
||||
task copyDependencies (type: Copy, dependsOn: downloadReactor) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue