-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
61 lines (52 loc) · 1.77 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
buildscript {
ext.kotlin_version = '1.2.30'
ext.spring_boot_version = '2.0.1.RELEASE'
ext.jersey_version = '1.19.4'
ext.simple_slack_version = '1.2.0'
ext.jsoup_version = '1.8.3'
ext.jasypt_version = '2.0.0'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-allopen:$kotlin_version"
classpath "org.springframework.boot:spring-boot-gradle-plugin:$spring_boot_version"
}
}
group 'com.nji'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: "kotlin-spring"
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
bootJar {
baseName = 'jira-slackbot'
version = '1.0.0'
}
sourceCompatibility = 1.8
repositories {
mavenCentral()
maven { url 'http://repo.spring.io/milestone' }
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
compile "org.springframework.boot:spring-boot-starter-web:$spring_boot_version"
compile "com.sun.jersey:jersey-client:$jersey_version"
compile "com.ullink.slack:simpleslackapi:$simple_slack_version"
compile "org.jsoup:jsoup:$jsoup_version"
compile "com.github.ulisesbocchio:jasypt-spring-boot:$jasypt_version"
testCompile group: 'org.glassfish.jersey.connectors', name: 'jersey-apache-connector', version: '2.26'
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile 'org.springframework.boot:spring-boot-starter-test'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}