-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
59 lines (49 loc) · 1.3 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
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN"
}
}
plugins {
id 'java'
}
subprojects {
group 'ca.mcgill.science.ctf.tepid'
version VERSION
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'maven'
sourceCompatibility = JVM
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$KOTLIN"
compile "ca.allanwang.kit:logger:$KIT"
compile "ca.allanwang.kit:utils:$KIT"
testCompile "org.jetbrains.kotlin:kotlin-test-junit:$KOTLIN"
testCompile group: 'junit', name: 'junit', version: JUNIT
testCompile group: 'com.h2database', name: 'h2', version: '1.4.197'
}
compileKotlin {
kotlinOptions.jvmTarget = JVM
}
compileTestKotlin {
kotlinOptions.jvmTarget = JVM
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
artifacts {
archives sourcesJar
archives javadocJar
}
}