We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b880f41 commit 8ee2d8fCopy full SHA for 8ee2d8f
build.gradle
@@ -1,7 +1,8 @@
1
-group 'com.hendrix.erdos'
2
-version '1.0-SNAPSHOT'
3
-
4
apply plugin: 'java'
+apply plugin: 'maven'
+
+group 'com.github.erdos-graph-framework'
5
+version '1.0-SNAPSHOT'
6
7
sourceCompatibility = 1.7
8
targetCompatibility = 1.8
@@ -14,4 +15,19 @@ repositories {
14
15
dependencies {
16
compile fileTree(include: ['*.jar'], dir: 'libs')
17
testCompile "junit:junit:4.11"
18
+}
19
20
+task sourcesJar(type: Jar, dependsOn: classes) {
21
+ classifier = 'sources'
22
+ from sourceSets.main.allSource
23
24
25
+task javadocJar(type: Jar, dependsOn: javadoc) {
26
+ classifier = 'javadoc'
27
+ from javadoc.destinationDir
28
29
30
+artifacts {
31
+ archives sourcesJar
32
+ archives javadocJar
33
}
0 commit comments