incubator-kitty-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pids...@apache.org
Subject svn commit: r1125739 - /incubator/kitty/trunk/build.gradle
Date Sat, 21 May 2011 16:10:52 GMT
Author: pidster
Date: Sat May 21 16:10:52 2011
New Revision: 1125739

URL: http://svn.apache.org/viewvc?rev=1125739&view=rev
Log:
Minor enhancements to build.gradle

Modified:
    incubator/kitty/trunk/build.gradle

Modified: incubator/kitty/trunk/build.gradle
URL: http://svn.apache.org/viewvc/incubator/kitty/trunk/build.gradle?rev=1125739&r1=1125738&r2=1125739&view=diff
==============================================================================
--- incubator/kitty/trunk/build.gradle (original)
+++ incubator/kitty/trunk/build.gradle Sat May 21 16:10:52 2011
@@ -15,21 +15,24 @@
   limitations under the License.
 */
 
-apply plugin: 'eclipse'
-apply plugin: 'java'
-apply plugin: 'groovy'
-apply plugin: 'application'
+apply plugin: 'eclipse'		// adds support for eclipse project generation
+apply plugin: 'idea'		// adds support for idea project generation
+apply plugin: 'java'		// adds support for java
+apply plugin: 'groovy'		// adds support for groovy
+apply plugin: 'application'	// adds support for building the app
 
 defaultTasks 'assemble'
 
 // --------------------------------------------------------------------
 // standard config
 version = '0.1-SNAPSHOT'
+applicationName = 'apache-kitty'
 title = 'Apache Kitty (Incubating)'
 description = 'This is the Apache Kitty Gradle build script'
 
 // --------------------------------------------------------------------
 // dependency versions
+
 gradleVersion = '1.0-milestone-3'
 groovyVersion = '1.8.0'
 jlineVersion = '0.9.94'
@@ -38,6 +41,9 @@ accliVersion = '1.2'
 aclangVersion = '2.6'
 aclogVersion = '1.1.1'
 
+// --------------------------------------------------------------------
+// configuration setup
+
 repositories {
     mavenCentral()
 }
@@ -58,16 +64,23 @@ dependencies {
 }
 
 jar {
-	baseName = 'apache-kitty'
+	baseName = "$applicationName"
 	manifest {
 		attributes (
-			'Main-Class': 'org.apache.kitty.Main'
+			'Main-Class': 'org.apache.kitty.Main',
+			'Implementation-Title': "$title", 
+			'Implementation-Version': "$version"
 		)
 	}
 }
 
+distZip {
+	baseName = "$applicationName"
+}
+
 // --------------------------------------------------------------------
 // java plugin config
+
 sourceCompatibility = 1.6
 targetCompatibility = 1.6
 sourceSets {



Mime
View raw message