-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
104 lines (86 loc) · 2.57 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
plugins {
id 'idea'
id 'java'
id 'groovy'
id 'org.springframework.boot' version '3.2.6'
id 'io.spring.dependency-management' version '1.1.4'
}
group = 'com.altium.migrator'
version = '1.1.0'
java {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
jar {
enabled = false
}
bootJar {
archivesBaseName = 'altium-migrator'
}
bootBuildImage {
builder = 'paketobuildpacks/builder-jammy-tiny'
imageName = 'altium-migrator'
publish = false
}
ext {
jgitVersion = '6.4.0.202211300538-r'
testContainersVersion = '1.17.6'
commonsIOVersion = '2.11.0'
spockVersion = '2.3-groovy-3.0'
}
sourceSets {
test {
groovy {
srcDirs = ['src/test/groovy']
}
resources {
srcDirs = ['src/test/resources']
}
}
}
dependencies {
implementation "org.springframework.boot:spring-boot-starter-data-jdbc"
implementation 'org.springframework.boot:spring-boot-starter-log4j2'
implementation "org.liquibase:liquibase-core"
implementation "org.eclipse.jgit:org.eclipse.jgit:$jgitVersion"
implementation "org.eclipse.jgit:org.eclipse.jgit.ssh.apache:$jgitVersion"
implementation "org.eclipse.jgit:org.eclipse.jgit.gpg.bc:$jgitVersion"
implementation "commons-io:commons-io:$commonsIOVersion"
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml'
compileOnly "org.projectlombok:lombok"
runtimeOnly "org.postgresql:postgresql"
// Testing, Spock, Groovy
testImplementation "org.codehaus.groovy:groovy-all:3.0.20"
testImplementation "org.spockframework:spock-core:$spockVersion"
testImplementation "org.spockframework:spock-spring:$spockVersion"
testImplementation "org.springframework.boot:spring-boot-starter-test"
testImplementation "org.testcontainers:spock:$testContainersVersion"
implementation platform("org.testcontainers:testcontainers-bom:$testContainersVersion")
testImplementation "org.testcontainers:postgresql"
annotationProcessor "org.springframework.boot:spring-boot-configuration-processor"
annotationProcessor "org.projectlombok:lombok"
}
configurations {
all*.exclude module: 'spring-boot-starter-logging'
}
idea {
module {
downloadJavadoc = true
downloadSources = true
}
}
test {
useJUnitPlatform()
systemProperties System.properties
testLogging {
events "passed", "skipped", "failed"
}
}