Last active
July 1, 2020 22:40
-
-
Save markito/f6ee63153a25351d7fcccbb37885598b to your computer and use it in GitHub Desktop.
scf-blog-gradle
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
plugins { | |
id 'org.springframework.boot' version '2.3.1.RELEASE' | |
id 'io.spring.dependency-management' version '1.0.9.RELEASE' | |
id 'java' | |
id 'com.google.cloud.tools.jib' version "2.4.0" | |
} | |
group = 'com.example' | |
version = '0.0.1-SNAPSHOT' | |
sourceCompatibility = '1.8' | |
repositories { | |
mavenCentral() | |
} | |
ext { | |
set('springCloudVersion', "Hoxton.SR6") | |
} | |
dependencies { | |
implementation 'org.springframework.boot:spring-boot-starter-actuator' | |
implementation 'org.springframework.boot:spring-boot-starter-web' | |
implementation 'org.springframework.cloud:spring-cloud-function-web' | |
testImplementation('org.springframework.boot:spring-boot-starter-test') { | |
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine' | |
} | |
} | |
dependencyManagement { | |
imports { | |
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}" | |
} | |
} | |
test { | |
useJUnitPlatform() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment