-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathbuild.gradle
96 lines (76 loc) · 2.52 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
91
92
93
94
95
96
group 'io.thelandscape'
version '0.4.3'
buildscript {
ext.kotlin_version = '1.3.61'
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
mavenCentral()
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.github.jengelman.gradle.plugins:shadow:5.2.0"
}
}
allprojects {
apply plugin: "kotlin"
apply plugin: "java"
apply plugin: "maven"
repositories {
mavenCentral()
jcenter()
maven {
url "http://dl.bintray.com/kotlin/kotlin-eap-1.1"
}
}
}
project(":") {
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.3'
compile "org.apache.httpcomponents:httpclient:4.5.2"
compile group: 'org.hsqldb', name: 'hsqldb', version: '2.3.4'
compile 'org.jsoup:jsoup:1.10.2'
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.8.1'
compile "com.github.andrewoma.kwery:core:0.17"
compile "com.github.andrewoma.kwery:fetcher:0.17"
compile "com.github.andrewoma.kwery:mapper:0.17"
compile group: 'com.zaxxer', name: 'HikariCP', version: '2.7.3'
compile group: 'com.google.guava', name: 'guava', version: '23.4-jre'
testCompile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.8.1'
testCompile group: 'org.apache.logging.log4j', name: 'log4j-slf4j-impl', version: '2.8.1'
testImplementation "com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0"
testCompile "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
testCompile "junit:junit:4.12"
}
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
}
}
project(":example") {
apply plugin: "kotlin"
apply plugin: "com.github.johnrengelman.shadow"
jar {
manifest {
attributes(
"Manifest-Version": "1.0",
"Created-By": "@brianmadden",
"Main-Class": "MainKt")
}
}
dependencies {
compile project(":")
}
}