-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
48 lines (36 loc) · 1.11 KB
/
build.gradle
File metadata and controls
48 lines (36 loc) · 1.11 KB
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
buildscript {
ext {
springBootVersion = '2.1.2.RELEASE'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'java'
apply plugin: 'org.springframework.boot'
version = '1.0'
sourceCompatibility = '1.8'
repositories {
mavenCentral()
}
jar {
manifest {
attributes(
'Main-Class': 'line.example.bot.messageapi.LineBotApplication'
)
}
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
}
dependencies {
// https://mvnrepository.com/artifact/com.linecorp.bot/line-bot-api-client
compile group: 'com.linecorp.bot', name: 'line-bot-api-client', version: '3.3.1'
// https://mvnrepository.com/artifact/com.linecorp.bot/line-bot-spring-boot
compile group: 'com.linecorp.bot', name: 'line-bot-spring-boot', version: '3.3.1'
// https://mvnrepository.com/artifact/org.springframework.boot/spring-boot
compile group: 'org.springframework.boot', name: 'spring-boot', version: '2.2.4.RELEASE'
// Use JUnit test framework
testImplementation 'junit:junit:4.12'
}