From ef7308401a9a9d782d4c79c221af0d2751a66614 Mon Sep 17 00:00:00 2001 From: Tang Cheng Date: Mon, 8 Jul 2019 16:35:42 +0800 Subject: [PATCH] =?utf8?q?=E7=BC=96=E8=AF=91sdk?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- build.gradle | 14 -------------- payapi-sdk/build.gradle | 10 +++++++--- 2 files changed, 7 insertions(+), 17 deletions(-) diff --git a/build.gradle b/build.gradle index d3f7c745..7b06b4c0 100644 --- a/build.gradle +++ b/build.gradle @@ -8,17 +8,3 @@ allprojects { subprojects { version = '1.0' } - -compileKotlin { - kotlinOptions { - freeCompilerArgs = ['-Xjsr305=strict'] - jvmTarget = jdkVersion - } -} - -compileTestKotlin { - kotlinOptions { - freeCompilerArgs = ['-Xjsr305=strict'] - jvmTarget = jdkVersion - } -} diff --git a/payapi-sdk/build.gradle b/payapi-sdk/build.gradle index 11378fb9..9e08338e 100644 --- a/payapi-sdk/build.gradle +++ b/payapi-sdk/build.gradle @@ -1,8 +1,8 @@ plugins { id 'java-library' id 'maven-publish' - id 'org.springframework.boot' - id "com.palantir.git-version" + id 'org.springframework.boot' version '2.1.6.RELEASE' + id "com.palantir.git-version" version "0.12.0-rc2" } @@ -33,7 +33,12 @@ publishing { } } +bootJar { + enabled = false +} + jar { + enabled = true baseName = "payapi-sdk" manifest { attributes('Payapi-SDK-Version': sdkVersion) @@ -44,7 +49,6 @@ dependencies { implementation 'org.springframework.boot:spring-boot-starter-data-jpa' implementation 'org.springframework.boot:spring-boot-starter-data-redis' - implementation project(':common') implementation 'org.springframework.cloud:spring-cloud-dependencies:Finchley.SR3' -- 2.17.1