-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
45 lines (36 loc) · 967 Bytes
/
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
plugins {
id 'java'
}
group = 'io.github.palexdev'
version = "$app"
subprojects {
apply plugin: 'java'
repositories {
mavenCentral()
}
dependencies {
// Inverno Framework :D
annotationProcessor "io.inverno:inverno-core-compiler:$inverno"
implementation "io.inverno:inverno-core:$inverno"
// Logging
implementation "org.slf4j:slf4j-api:$slf4j"
implementation "ch.qos.logback:logback-classic:$logback"
testImplementation platform("org.junit:junit-bom:$junit")
testImplementation 'org.junit.jupiter:junit-jupiter'
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
test {
useJUnitPlatform()
}
// Since we are using a compile time DI framework, everytime the code changes
compileJava {
doFirst {
if (!classes.state.upToDate)
clean
}
}
}