-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
48 lines (38 loc) · 963 Bytes
/
build.gradle.kts
File metadata and controls
48 lines (38 loc) · 963 Bytes
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
plugins {
id("java")
id("application")
id ("io.freefair.aspectj.post-compile-weaving") version "8.4"
id ("com.github.johnrengelman.shadow") version "8.1.1"
}
group = "org.trad.pcl"
version = "1.0-SNAPSHOT"
tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
}
repositories {
mavenCentral()
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
configurations {
compileOnly {
extendsFrom(configurations.annotationProcessor.get())
}
}
application {
mainClass = "org.trad.pcl.Main"
}
dependencies {
implementation("com.diogonunes:JColor:5.5.1")
implementation("org.aspectj:aspectjrt:1.9.21")
implementation("org.aspectj:aspectjweaver:1.9.21")
testImplementation(platform("org.junit:junit-bom:5.9.1"))
testImplementation("org.junit.jupiter:junit-jupiter")
testImplementation("org.mockito:mockito-core:2.22.0")
}
tasks.test {
useJUnitPlatform()
}