From: <lh...@us...> - 2010-03-24 09:49:02
|
Revision: 388 http://tinytim.svn.sourceforge.net/tinytim/?rev=388&view=rev Author: lheuer Date: 2010-03-24 09:48:56 +0000 (Wed, 24 Mar 2010) Log Message: ----------- Added *experimental* Gradle build Added Paths: ----------- tinytim/trunk/build.gradle Added: tinytim/trunk/build.gradle =================================================================== --- tinytim/trunk/build.gradle (rev 0) +++ tinytim/trunk/build.gradle 2010-03-24 09:48:56 UTC (rev 388) @@ -0,0 +1,45 @@ +// *Experimental* build file for Gradle +// DO NOT use it. Don't even think about it! + +group = 'org.tinytim' +archivesBaseName = 'tinytim' +version = '2.0.1' +bundleVersion = version + +usePlugin 'java' +usePlugin 'osgi' + +manifest.mainAttributes( + 'Implementation-Title': 'tinyTiM', + 'Implementation-Version': version +) + +gradle.taskGraph.whenReady {taskGraph -> + if (!taskGraph.hasTask(':release')) { + version += '-SNAPSHOT' + } +} + +repositories { + mavenCentral() + mavenRepo urls: 'http://www.tmapi.org/maven-repository/' + mavenRepo urls: 'http://www.tmapi.org/maven-repository/snapshots/' +} + +dependencies { + compile group: 'org.tmapi', name: 'tmapi', version: '2.0.2' + compile files('lib/semagia-mio-0.9.5.jar') + + testCompile group: 'junit', name: 'junit', version: '4.+' + testCompile group: 'org.tmapi', name: 'tmapi-tests', version: '2.0.3-SNAPSHOT' +} + +configure(jar.osgi) { + instruction 'Bundle-Description', 'tinyTiM - A tiny Topic Maps engine' + instruction 'Import-Package', 'org.tmapi.core, org.tmapi.index' + instruction 'Export-Package', 'org.tinytim.mio, org.tinytim.voc' +} + +test { + include '**/AllTests.class' +} \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |