-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
52 lines (44 loc) · 1.36 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
buildscript {
ext.kotlin_version = '1.2.61'
repositories {
mavenCentral()
maven {
url 'https://plugins.gradle.org/m2/'
}
maven { url 'https://jitpack.io' }
}
dependencies {
classpath 'javax.activation:activation:1.1'
classpath 'com.sun.xml.bind:jaxb-impl:2.2.11'
classpath 'com.sun.xml.bind:jaxb-core:2.2.11'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.5.14.RELEASE")
classpath "org.jetbrains.kotlin:kotlin-allopen:$kotlin_version"
}
}
task wrapper(type: Wrapper) {
gradleVersion = '4.10'
}
apply plugin: 'kotlin'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
apply plugin: 'kotlin-spring'
jar {
baseName = 'telegram-bot'
version = '0.1'
}
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
maven {
url "https://dl.bintray.com/kotlin/exposed"
}
}
dependencies {
compile 'org.telegram:telegrambots:4.6'
compile 'commons-logging:commons-logging:1.1.1'
compile 'org.slf4j:slf4j-log4j12:1.7.5'
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
testCompile "org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version"
}