Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

generate source jars

  • Loading branch information...
commit c637dff3382d0600be1aa1189095783745d29119 1 parent 45282e7
Paul Siegmann authored August 07, 2011

Showing 1 changed file with 18 additions and 0 deletions. Show diff stats Hide diff stats

  1. 18  build.gradle
18  build.gradle
... ...
@@ -1,6 +1,7 @@
1 1
 apply plugin: 'java'
2 2
 apply plugin: 'application'
3 3
 apply plugin: 'maven'
  4
+apply plugin: 'eclipse'
4 5
 
5 6
 group = 'org.sunflow'
6 7
 version = '0.07.3'
@@ -68,6 +69,23 @@ task generatePom << {
68 69
 				connection 'scm:git:https://skrat@github.com/skrat/sunflow.git'
69 70
 				developerConnection 'scm:git:https://skrat@github.com/skrat/sunflow.git'
70 71
 			}
  72
+			
  73
+			build {
  74
+				plugins {
  75
+					plugin {
  76
+						groupId 'org.apache.maven.plugins'
  77
+						artifactId 'maven-source-plugin'
  78
+						executions {
  79
+							execution {
  80
+								id 'attach-sources'
  81
+								goals {
  82
+									goal 'jar'
  83
+								}
  84
+							}
  85
+						}
  86
+					}
  87
+				}
  88
+			}
71 89
 		}
72 90
     }.writeTo("pom.xml")
73 91
 }

0 notes on commit c637dff

Please sign in to comment.
Something went wrong with that request. Please try again.