aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From csie...@apache.org
Subject [08/50] [abbrv] aries-jax-rs-whiteboard git commit: fix default build instruction
Date Thu, 24 Nov 2016 10:53:12 GMT
fix default build instruction

./gradlew # now works without error


Project: http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/repo
Commit: http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/commit/d086f10e
Tree: http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/tree/d086f10e
Diff: http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/diff/d086f10e

Branch: refs/heads/master
Commit: d086f10e121c3ff1556ed87732788f37b9d64816
Parents: 118fb42
Author: Raymond Auge <raymond.auge@liferay.com>
Authored: Tue Aug 2 14:58:29 2016 -0400
Committer: Raymond Auge <raymond.auge@liferay.com>
Committed: Tue Oct 11 13:20:31 2016 -0400

----------------------------------------------------------------------
 build.gradle | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/blob/d086f10e/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 3dc5282..c7e6814 100644
--- a/build.gradle
+++ b/build.gradle
@@ -10,6 +10,8 @@ buildscript {
 	}
 }
 
+defaultTasks 'build'
+
 subprojects {
 	buildscript {
 		repositories {
@@ -19,8 +21,13 @@ subprojects {
 		}
 	}
 
-	apply plugin: 'biz.aQute.bnd.builder'
-	sourceCompatibility = 1.7
+	if (file('bnd.bnd').exists()) {
+		apply plugin: 'biz.aQute.bnd.builder'
+		sourceCompatibility = 1.7
+    }
+	else {
+		apply plugin: 'java'
+	}
 
 	repositories {
 		maven {


Mime
View raw message