forked from joshlong-attic/spring-native
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
44 lines (36 loc) · 858 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
plugins {
id 'java-gradle-plugin'
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
dependencies {
implementation fileTree(dir: 'target/dependencies/compile', include: '*.jar')
compileOnly fileTree(dir: 'target/dependencies/provided', include: '*.jar')
testImplementation fileTree(dir: 'target/dependencies/test', include: '*.jar')
}
gradlePlugin {
plugins {
springAot {
id = 'org.springframework.experimental.aot'
implementationClass = 'org.springframework.aot.gradle.SpringAotGradlePlugin'
}
}
}
test {
useJUnitPlatform()
testLogging {
events "passed", "skipped", "failed"
}
}
task sourcesJar(type: Jar) {
archiveClassifier = 'sources'
from sourceSets.main.allSource
}
repositories {
mavenCentral()
}
artifacts {
archives sourcesJar
}