Permalink
Browse files

generate source jars

  • Loading branch information...
1 parent 45282e7 commit c637dff3382d0600be1aa1189095783745d29119 @psiegman committed Aug 7, 2011
Showing with 18 additions and 0 deletions.
  1. +18 −0 build.gradle
View
@@ -1,6 +1,7 @@
apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'maven'
+apply plugin: 'eclipse'
group = 'org.sunflow'
version = '0.07.3'
@@ -68,6 +69,23 @@ task generatePom << {
connection 'scm:git:https://skrat@github.com/skrat/sunflow.git'
developerConnection 'scm:git:https://skrat@github.com/skrat/sunflow.git'
}
+
+ build {
+ plugins {
+ plugin {
+ groupId 'org.apache.maven.plugins'
+ artifactId 'maven-source-plugin'
+ executions {
+ execution {
+ id 'attach-sources'
+ goals {
+ goal 'jar'
+ }
+ }
+ }
+ }
+ }
+ }
}
}.writeTo("pom.xml")
}

0 comments on commit c637dff

Please sign in to comment.