Last active
October 27, 2022 03:14
-
-
Save windoctor7/76828d550cee6031f691781314eec504 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Creado por Ascari Q. Romo Pedraza (molder.itp@gmail.com) | |
* 9 Octubre 2022 | |
* Hecho con Gradle v7.5.1 | |
* */ | |
plugins { | |
id 'org.springframework.boot' version '2.6.2' | |
id 'io.spring.dependency-management' version '1.0.11.RELEASE' | |
id 'io.freefair.lombok' version '6.5.1' | |
id 'groovy' // requerido para unit test con Spock | |
id 'application' | |
} | |
version '0.1.0' | |
repositories { | |
// Use Maven Central for resolving dependencies. | |
mavenCentral() | |
} | |
dependencies { | |
// Use the latest Groovy version for Spock testing | |
testImplementation 'org.codehaus.groovy:groovy:3.0.10' | |
// Use the awesome Spock testing and specification framework even with Java | |
testImplementation 'org.spockframework:spock-core:2.1-groovy-3.0' | |
testImplementation 'junit:junit:4.13.2' | |
// This dependency is used by the application. | |
implementation 'org.springframework.boot:spring-boot-starter-web' | |
implementation 'org.springframework.boot:spring-boot-starter-actuator' | |
testImplementation 'org.springframework.boot:spring-boot-starter-test' | |
} | |
application { | |
// Define the main class for the application. | |
mainClass = 'docker.springboot.java17.App' | |
} | |
tasks.named('test') { | |
// Use JUnit Platform for unit tests. | |
useJUnitPlatform() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment