-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
50 lines (43 loc) · 1.39 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
apply plugin: 'java-library'
apply plugin: 'maven-publish'
repositories {
jcenter()
}
dependencies {
// Use JUnit test framework
testImplementation 'junit:junit:4.12'
// https://mvnrepository.com/artifact/org.apache.commons/commons-lang3
compile 'org.apache.commons:commons-lang3:3.7'
}
group = 'com.github.helegraf'
version = 'SNAPSHOT'
task sourcesJar(type: Jar) {
from sourceSets.main.allJava
classifier = 'sources'
}
task javadocJar(type: Jar) {
from javadoc
classifier = 'javadoc'
}
// This is just for publishing to mavenLocal and included only for jitpack.io support
publishing {
publications {
mavenJava(MavenPublication) {
artifactId = 'treeminer'
from components.java
artifact sourcesJar
artifact javadocJar
pom {
name = 'TreeMiner'
description = ' A java implementation of the TreeMiner algorithm (Mohammed Javeed Zaki: Efficiently Mining Frequent Trees in a Forest: Algorithms and Applications. IEEE Trans. Knowl. Data Eng. 17(8): 1021-1035 (2005)).'
url = 'https://github.com/helegraf/TreeMiner'
licenses {
license {
name = 'The MIT License'
url = 'https://opensource.org/licenses/MIT'
}
}
}
}
}
}