-
Notifications
You must be signed in to change notification settings - Fork 40
/
build.gradle
50 lines (42 loc) · 1.14 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
plugins {
id 'groovy'
id 'eclipse'
id 'application'
alias(libs.plugins.versions)
alias(libs.plugins.version.catalog.update)
}
mainClassName = 'astro.astronauts_in_space'
repositories {
mavenCentral()
}
//project.ext.db = file("$buildDir/baseball.mv.db")
//
//task generateTestDb(dependsOn:classes, type:JavaExec) {
// onlyIf { !db.exists() }
// main = 'geocoder.populate_stadium_data'
// classpath sourceSets.main.runtimeClasspath
//}
//
//compileTestGroovy.dependsOn generateTestDb
tasks.named('test') {
useJUnitPlatform()
}
dependencies {
implementation(platform(libs.groovy.bom))
implementation libs.groovy.ant
implementation libs.groovy.console
implementation libs.groovy.datetime
implementation libs.groovy.json
implementation libs.groovy.sql
implementation libs.groovy.swing
implementation libs.groovy.test
implementation libs.groovy.xml
implementation libs.ant
implementation libs.commons.math
implementation libs.gson
testImplementation(libs.spock.core) {
exclude group: 'org.codehaus.groovy'
}
testImplementation libs.bundles.junit
runtimeOnly libs.h2
}