-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
58 lines (45 loc) · 1.98 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
50
51
52
53
54
55
56
57
58
/*
* This build file was auto generated by running the Gradle 'init' task
* by 'dougestep' at '4/11/17 2:28 PM' with Gradle 3.1
*
* This generated file contains a sample Groovy project to get you started.
* For more details take a look at the Groovy Quickstart chapter in the Gradle
* user guide available at https://docs.gradle.org/3.1/userguide/tutorial_groovy_projects.html
*/
// Apply the groovy plugin to add support for Groovy
apply plugin: 'groovy'
apply plugin: 'idea'
// In this section you declare where to find the dependencies of your project
repositories {
// Use 'jcenter' for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()
}
// In this section you declare the dependencies for your production and test code
dependencies {
// We use the latest groovy 2.x version for building this library
compile 'org.codehaus.groovy:groovy-all:2.4.7'
compile 'jline:jline:2.14.3'
testCompile 'junit:junit:4.12'
}
task generateProjects(type: JavaExec) {
description 'Generates the projects for the model, view, and controller applications.'
// Set main property to name of Groovy script class.
main = 'com.estep.bigcodebang.model.script.SourceCodeGeneratorScript'
// Set classpath for running the Groovy script.
classpath = sourceSets.main.runtimeClasspath
}
task generateViewProject(type: JavaExec) {
description 'Generates the View project'
// Set main property to name of Groovy script class.
main = 'com.estep.bigcodebang.model.script.SourceViewCodeGeneratorScript'
// Set classpath for running the Groovy script.
classpath = sourceSets.main.runtimeClasspath
}
task deleteProjects(type: JavaExec) {
description 'Deletes the projects from the file system.'
// Set main property to name of Groovy script class.
main = 'com.estep.bigcodebang.model.script.SourceCodeRemoveScript'
// Set classpath for running the Groovy script.
classpath = sourceSets.main.runtimeClasspath
}