This repository was archived by the owner on Nov 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathbuild.gradle
More file actions
50 lines (42 loc) · 1.72 KB
/
build.gradle
File metadata and controls
50 lines (42 loc) · 1.72 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
48
49
50
/*
* ChatBot Workshop
* Copyright (C) 2018 Marcus Fihlon
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
group 'ch.fihlon.workshop.chatbot'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'application'
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
mainClassName = 'ch.fihlon.workshop.chatbot.WorkshopBot'
repositories {
mavenCentral()
}
dependencies {
implementation group: 'org.telegram', name: 'telegrambots', version: '6.3.0'
implementation group: 'org.telegram', name: 'telegrambots-abilities', version: '6.3.0'
implementation group: 'org.slf4j', name: 'slf4j-simple', version: '2.0.3'
implementation group: 'org.slf4j', name: 'slf4j-api', version: '2.0.3'
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.9.1'
testImplementation group: 'org.mockito', name: 'mockito-core', version: '4.8.1'
}
tasks.named('wrapper') {
distributionType = Wrapper.DistributionType.ALL
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
options.compilerArgs += ["-Xlint:deprecation", "-Xlint:unchecked"]
}