From 8e693fe04aace8aac34cbd930ca4c3e333f27182 Mon Sep 17 00:00:00 2001 From: Tang Cheng Date: Wed, 3 Jul 2019 20:11:37 +0800 Subject: [PATCH] =?utf8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- build.gradle | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 96d5fb88..fcabe951 100644 --- a/build.gradle +++ b/build.gradle @@ -33,8 +33,10 @@ bootJar { } jar { + baseName = 'payapi' + version = '1' manifest { - attributes('Payapi-Version': payapiVersion) + attributes 'Payapi-Version': payapiVersion } } docker { @@ -43,12 +45,16 @@ docker { files jar.archivePath } +docker.dependsOn(jar) + dependencies { implementation 'org.springframework.boot:spring-boot-starter-data-jpa' implementation 'org.springframework.boot:spring-boot-starter-data-redis' implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.springframework.boot:spring-boot-starter-security' implementation 'org.springframework.boot:spring-boot-starter-cache' + implementation 'org.springframework.boot:spring-boot-autoconfigure' + implementation 'org.springframework.security:spring-security-oauth2-jose' implementation 'org.springframework.security:spring-security-oauth2-client' implementation 'org.springframework.security:spring-security-oauth2-jose' implementation 'org.springframework.security.oauth.boot:spring-security-oauth2-autoconfigure:2.1.5.RELEASE' -- 2.17.1