This repository was archived by the owner on Apr 5, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
80 lines (62 loc) · 1.61 KB
/
build.gradle
File metadata and controls
80 lines (62 loc) · 1.61 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
buildscript {
ext.api_version = '0.2'
ext.kotlin_version = '1.0.4'
ext.dokka_version = '0.9.8'
ext.gradle_git_version = '1.5.1'
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:$dokka_version"
classpath "org.ajoberstar:gradle-git:$gradle_git_version"
}
}
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'jacoco'
apply plugin: 'org.jetbrains.dokka'
apply plugin: 'org.ajoberstar.github-pages'
project.group = 'com.toolable'
project.version = '0.2-SNAPSHOT'
sourceCompatibility = 1.6
targetCompatibility = 1.6
javadoc.title = "Notes Stub " + project.version
jar {
manifest {
attributes 'Implementation-Title': 'Notes Stub', 'Implementation-Version': project.version
}
}
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
}
dependencies {
// IBM Copyrighted dependence
compile files('libs/Notes.jar')
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile 'com.google.guava:guava:19.0'
compile 'joda-time:joda-time:2.9.4'
compile 'com.github.slimaku:kable:11135395cf'
testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-all:1.10.19'
}
jacocoTestReport {
dependsOn test
reports {
xml.enabled = true
html.enabled = true
}
}
dokka {
moduleName = "notesstub"
includes = ['packages.md']
}
githubPages {
pages {
from dokka
into "doc/${api_version}"
}
}
check.dependsOn jacocoTestReport