cicd-java-spring-boot/build.gradle

29 lines
598 B
Groovy
Raw Normal View History

2023-01-31 13:42:28 +00:00
plugins {
id 'java'
id 'org.springframework.boot' version '2.7.8'
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
}
group = 'com.loafle.prototype'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '11'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
tasks.named('test') {
useJUnitPlatform()
}
2023-02-01 22:58:15 +00:00
task projectDetails {
doLast {
println "PROJECT_NAME=${project.name}"
println "PROJECT_VERSION=${project.version}"
}
}