-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Expand file tree
/
Copy pathbuild.gradle
More file actions
43 lines (34 loc) · 1.24 KB
/
build.gradle
File metadata and controls
43 lines (34 loc) · 1.24 KB
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
plugins {
id 'groovy'
}
description = "Testcontainers :: Spock-Extension"
dependencies {
api project(':testcontainers')
implementation 'org.spockframework:spock-core:2.3-groovy-4.0'
testImplementation project(':testcontainers-selenium')
testImplementation project(':testcontainers-mysql')
testImplementation project(':testcontainers-postgresql')
testImplementation 'com.zaxxer:HikariCP:7.0.2'
testImplementation 'org.apache.httpcomponents:httpclient:4.5.14'
testRuntimeOnly 'org.postgresql:postgresql:42.7.10'
testRuntimeOnly 'com.mysql:mysql-connector-j:9.6.0'
testRuntimeOnly platform('org.junit:junit-bom:5.14.3')
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
testRuntimeOnly 'org.junit.platform:junit-platform-testkit'
testCompileOnly 'org.jetbrains:annotations:26.0.2-1'
}
tasks.withType(GroovyCompile) {
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
options.encoding = 'UTF-8'
}
sourceJar {
/* allJava is default (see gradle/publishing.gradle:sourceJar)
allSource contains both .java and .groovy files */
from sourceSets.main.allSource
}
javadocJar {
dependsOn groovydoc
archiveClassifier = 'javadoc'
from groovydoc.destinationDir
}