java version
This commit is contained in:
parent
8583b57406
commit
99e20654a9
15
build.gradle
15
build.gradle
@ -6,7 +6,7 @@ plugins {
|
|||||||
|
|
||||||
group = 'com.s477603'
|
group = 'com.s477603'
|
||||||
version = '0.0.1-SNAPSHOT'
|
version = '0.0.1-SNAPSHOT'
|
||||||
sourceCompatibility = '17'
|
sourceCompatibility = JavaVersion.VERSION_17
|
||||||
|
|
||||||
configurations {
|
configurations {
|
||||||
compileOnly {
|
compileOnly {
|
||||||
@ -16,6 +16,12 @@ configurations {
|
|||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
maven {
|
||||||
|
url "https://repo.spring.io/release"
|
||||||
|
}
|
||||||
|
maven {
|
||||||
|
url "https://repository.jboss.org/maven2"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
@ -31,3 +37,10 @@ dependencies {
|
|||||||
tasks.named('test') {
|
tasks.named('test') {
|
||||||
useJUnitPlatform()
|
useJUnitPlatform()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.named("bootJar") {
|
||||||
|
manifest {
|
||||||
|
attributes 'Start-Class': 'com.s477603.movies.MoviesApplication'
|
||||||
|
attributes 'Main-Class': 'com.s477603.movies.MoviesApplication'
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user