cicd-java-spring-boot/build.gradle
2023-02-01 23:10:13 +00:00

34 lines
610 B
Groovy

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()
}
task projectName {
doLast {
println "${project.name}"
}
}
task projectVersion {
doLast {
println "${project.version}"
}
}