-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
69 lines (54 loc) · 1.8 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
59
60
61
62
63
64
65
66
67
68
69
plugins {
id 'groovy'
id 'java'
}
group 'com.vgrails'
version '0.0.1'
sourceCompatibility = 1.8
configurations {
localGroovyConf
}
repositories {
mavenCentral()
jcenter()
}
task generateViews (dependsOn: 'classes', type: JavaExec) {
main = 'generateViews'
classpath = sourceSets.main.runtimeClasspath
}
task generateDomains (dependsOn: 'classes', type: JavaExec) {
main = 'generateDomains'
classpath = sourceSets.main.runtimeClasspath
}
dependencies {
localGroovyConf localGroovy()
//framework
compile 'org.codehaus.groovy:groovy-all:3.0.0-alpha-4'
compile 'com.sparkjava:spark-core:2.9.0'
compile 'com.sparkjava:spark-template-velocity:2.7.1'
compile "org.reflections:reflections:0.9.11"
//orm and jdbc
compile "org.grails:grails-datastore-gorm-hibernate5:7.0.0.RELEASE"
//compile "org.grails:grails-datastore-gorm-hibernate5:6.1.12.RELEASE"
runtime "org.apache.tomcat:tomcat-jdbc:8.5.0"
runtime "com.h2database:h2:1.4.192"
//runtime 'mysql:mysql-connector-java:5.1.47'
//RestClient
compile group: 'io.github.http-builder-ng', name: 'http-builder-ng-core', version: '1.0.3'
//json
implementation "com.google.code.gson:gson:2.8.5"
//log
compile "org.slf4j:slf4j-api:1.7.26"
compile "org.slf4j:slf4j-simple:1.7.26"
//testing
//compile group: 'junit', name: 'junit', version: '4.12'
compile group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.5.0-M1'
compile group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.5.0-M1'
compile group: 'org.junit.jupiter', name: 'junit-jupiter', version: '5.5.0-M1'
compile group: 'org.junit.jupiter', name: 'junit-jupiter-params', version: '5.5.0-M1'
}
test {
useJUnitPlatform {
includeEngines 'junit-jupiter'
}
}