Skip to content

Commit 8ee2d8f

Browse files
committed
jitpack
1 parent b880f41 commit 8ee2d8f

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

build.gradle

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
group 'com.hendrix.erdos'
2-
version '1.0-SNAPSHOT'
3-
41
apply plugin: 'java'
2+
apply plugin: 'maven'
3+
4+
group 'com.github.erdos-graph-framework'
5+
version '1.0-SNAPSHOT'
56

67
sourceCompatibility = 1.7
78
targetCompatibility = 1.8
@@ -14,4 +15,19 @@ repositories {
1415
dependencies {
1516
compile fileTree(include: ['*.jar'], dir: 'libs')
1617
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
1733
}

0 commit comments

Comments
 (0)