-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
44 lines (37 loc) · 868 Bytes
/
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
buildscript {
repositories {
mavenCentral()
jcenter()
}
}
plugins {
id "org.jetbrains.kotlin.jvm" version "1.1.2"
id "org.jetbrains.dokka" version "0.9.15"
}
group 'org.andrejs'
version '1.0'
apply plugin: 'kotlin'
apply plugin: 'maven'
apply plugin: 'org.jetbrains.dokka'
repositories {
mavenCentral()
jcenter()
}
dependencies {
compile "org.cassandraunit:cassandra-unit:2.1.9.2"
compile "com.datastax.cassandra:cassandra-driver-core:3.3.0"
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:1.1.2"
compile "junit:junit:4.12"
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
task dokkaJar(type: Jar, dependsOn: dokka) {
classifier = "javadoc"
from dokka.outputDirectory
}
artifacts {
archives sourcesJar
archives dokkaJar
}