From: <lh...@us...> - 2010-04-02 10:06:54
|
Revision: 393 http://tinytim.svn.sourceforge.net/tinytim/?rev=393&view=rev Author: lheuer Date: 2010-04-02 10:06:48 +0000 (Fri, 02 Apr 2010) Log Message: ----------- Updated Gradle build Modified Paths: -------------- tinytim/trunk/build.gradle Modified: tinytim/trunk/build.gradle =================================================================== --- tinytim/trunk/build.gradle 2010-03-30 08:51:27 UTC (rev 392) +++ tinytim/trunk/build.gradle 2010-04-02 10:06:48 UTC (rev 393) @@ -1,13 +1,19 @@ -// *Experimental* build file for Gradle *0.9* (preview) -// DO NOT use it. Don't even think about it! - +/* + * Gradle 0.9 build file. + * + * - Download Gradle from <http://www.gradle.org/> + * - Execute gradle build + * + * TODO: Zip / Tar archives, run TMAPI.AllTests + * + */ group = 'org.tinytim' -archivesBaseName = 'tinytim' version = '2.0.1' bundleVersion = version apply plugin: 'java' apply plugin: 'osgi' +apply plugin: 'maven' gradle.taskGraph.whenReady {taskGraph -> if (!taskGraph.hasTask(':release')) { @@ -34,10 +40,16 @@ attributes 'Implementation-Title': 'tinyTiM', 'Implementation-Version': version 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' + instruction 'Export-Package', 'org.tinytim.mio, org.tinytim.voc, org.tinytim.utils' } } -test { - include '**/AllTests.class' -} \ No newline at end of file +artifacts { + archives jar +} + +uploadArchives { + repositories.mavenDeployer { + repository(url: "file://$buildDir/maven-repo/") + } +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |