-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
90 lines (67 loc) · 2.43 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
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
81
82
83
84
85
86
87
88
89
90
group 'de.mpicbg.scicomp.experimental'
version '0.1-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'maven'
apply plugin: 'org.jetbrains.dokka'
buildscript {
ext.kotlin_version = '1.2.70'
repositories {
// maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
mavenCentral()
maven { url 'https://dl.bintray.com/kotlin/dokka' }
}
dependencies {
classpath "org.jetbrains.dokka:dokka-gradle-plugin:0.9.15"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
sourceSets {
main {
kotlin {
exclude '**/*.kts' // gradle will otherwise try to compile them
}
}
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
mavenLocal()
jcenter()
// maven {url 'http://maven.imagej.net/content/groups/public'}
maven { url 'https://dl.bintray.com/kotlin/kotlin-dev' }
maven { url 'http://maven.imagej.net'}
maven { url 'http://maven.imagej.net/content/repositories/releases/' }
maven { url 'http://maven.imagej.net/content/repositories/public/' }
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
// suggest in gitter to workaround ops issues
// compile "net.imagej:ij1-patcher:0.12.7"
// compile group: 'org.scijava', name: 'scijava-common', version: '2.66.1'
// compile 'invizio:CIP:0.1.0'
compile group: 'org.scijava', name: 'scijava-common', version: '2.66.1'
compile 'net.imglib2:imglib2:4.6.0'
compile 'net.imglib2:imglib2-ij:2.0.0-beta-43'
compile 'net.imagej:imagej-ops:0.43.0'
compile 'net.imagej:imagej-common:0.26.0'
compile 'io.scif:scifio:0.37.3'
compile "de.mpicbg.scicomp:krangl:0.10.3"
compile "com.github.holgerbrandl:kravis:0.5"
compile group: 'edu.ucar', name: 'udunits', version: '4.5.5'
compile 'com.github.holgerbrandl:kscript-annotations:1.2'
compile group: 'edu.mines', name: 'mines-jtk', version: '20151125'
// for jupyter notebook annotations
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile "io.kotlintest:kotlintest:1.1.6"
compile "org.jetbrains.kotlin:kotlin-script-runtime:1.2.0"
}
//Minimal dokka configuration:
dokka {
outputFormat = 'html'
outputDirectory = "docs/javadoc"
samples = ['src/test/kotlin/de/mpicbg/scicomp/kip/samples']
reportNotDocumented = false
includes = ['misc/packages_info.md']
}