From 098043a328991e06a810125266410c3a1ddd1a6a Mon Sep 17 00:00:00 2001 From: JThink Date: Wed, 15 Nov 2017 10:56:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9gradle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 2 +- skyeye-base/build.gradle | 16 ++++++++-------- skyeye-data/build.gradle | 16 ++++++++-------- skyeye-trace/build.gradle | 16 ++++++++-------- 4 files changed, 25 insertions(+), 25 deletions(-) diff --git a/build.gradle b/build.gradle index 2f10bc5..21bb5db 100644 --- a/build.gradle +++ b/build.gradle @@ -36,7 +36,7 @@ subprojects { zkclientVersion = '0.10' slf4jVersion = '1.7.25' fastJsonVersion = '1.2.40' - dubboVersion = '2.8.4-skyeye-trace-1.2.0' + dubboVersion = '2.8.4-skyeye-trace-1.2.1' springBootVersion = '1.5.6.RELEASE' springVersion = '4.3.10.RELEASE' hbaseVersion = '1.0.0-cdh5.4.4' diff --git a/skyeye-base/build.gradle b/skyeye-base/build.gradle index 07747b5..b62deb9 100644 --- a/skyeye-base/build.gradle +++ b/skyeye-base/build.gradle @@ -1,11 +1,11 @@ -//task sourcesJar(type: Jar, dependsOn: classes) { -// classifier = 'sources' -// from sourceSets.main.allSource -//} -// -//artifacts { -// archives sourcesJar -//} +task sourcesJar(type: Jar, dependsOn: classes) { + classifier = 'sources' + from sourceSets.main.allSource +} + +artifacts { + archives sourcesJar +} //uploadArchives { // repositories { diff --git a/skyeye-data/build.gradle b/skyeye-data/build.gradle index d69f70f..2025123 100644 --- a/skyeye-data/build.gradle +++ b/skyeye-data/build.gradle @@ -1,13 +1,13 @@ allprojects { -// task sourcesJar(type: Jar, dependsOn: classes) { -// classifier = 'sources' -// from sourceSets.main.allSource -// } -// -// artifacts { -// archives sourcesJar -// } + task sourcesJar(type: Jar, dependsOn: classes) { + classifier = 'sources' + from sourceSets.main.allSource + } + + artifacts { + archives sourcesJar + } // // uploadArchives { // repositories { diff --git a/skyeye-trace/build.gradle b/skyeye-trace/build.gradle index 4bd81c9..df0462e 100644 --- a/skyeye-trace/build.gradle +++ b/skyeye-trace/build.gradle @@ -1,13 +1,13 @@ allprojects { -// task sourcesJar(type: Jar, dependsOn: classes) { -// classifier = 'sources' -// from sourceSets.main.allSource -// } -// -// artifacts { -// archives sourcesJar -// } + task sourcesJar(type: Jar, dependsOn: classes) { + classifier = 'sources' + from sourceSets.main.allSource + } + + artifacts { + archives sourcesJar + } // // uploadArchives { // repositories {