Skip to content

Instantly share code, notes, and snippets.

@jeonguk
Created May 21, 2019 08:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeonguk/257ae74b493eb43d2cb9fec744acc690 to your computer and use it in GitHub Desktop.
Save jeonguk/257ae74b493eb43d2cb9fec744acc690 to your computer and use it in GitHub Desktop.
build.gradle script
buildscript {
ext {
springBootVersion = '2.1.5.RELEASE'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'groovy'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
group = 'com.kabang'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter-data-jpa:${springBootVersion}")
implementation("org.springframework.boot:spring-boot-starter-web:${springBootVersion}")
implementation('org.codehaus.groovy:groovy:2.5.3')
runtimeOnly 'com.h2database:h2'
compileOnly 'org.projectlombok:lombok:1.18.4'
annotationProcessor 'org.projectlombok:lombok:1.18.4'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation('org.spockframework:spock-core:1.3-groovy-2.5')
testImplementation('org.spockframework:spock-spring:1.3-groovy-2.5')
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment