-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
52 lines (45 loc) · 1.71 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
buildscript {
ext.kotlin_version = '1.2.71'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
apply plugin: 'kotlin'
apply plugin: 'application'
jar {
manifest {
attributes 'Main-Class': 'com.rf.beatrice.BotKt'
}
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
}
mainClassName = 'com.rf.beatrice.BotKt'
defaultTasks 'run'
repositories {
mavenCentral()
jcenter()
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.25'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.11.1'
compile group: 'org.apache.logging.log4j', name: 'log4j-slf4j-impl', version: '2.11.1'
compile group: 'commons-cli', name: 'commons-cli', version: '1.4'
compile 'com.github.pengrad:java-telegram-bot-api:4.1.0'
compile 'com.fasterxml.jackson.core:jackson-core:2.9.7'
compile "com.fasterxml.jackson.module:jackson-module-kotlin:2.9.+"
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.0'
compile group: 'com.h2database', name: 'h2', version: '1.4.197'
compile group: 'org.jetbrains.exposed', name: 'exposed', version: '0.12.2'
compile group: 'org.flywaydb', name: 'flyway-core', version: '5.1.4'
compile "khttp:khttp:1.0.0"
testCompile 'junit:junit:4.11'
testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
testCompile 'com.github.gmazzo:okhttp-mock:1.0.4'
testCompile 'com.nhaarman.mockitokotlin2:mockito-kotlin:2.0.0-RC1'
}
task wrapper(type: Wrapper) {
gradleVersion = "4.1"
}