-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
52 lines (42 loc) · 1.5 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
plugins {
id 'java'
}
group = 'org.example'
version = '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
task fatJar(type: Jar) {
manifest {
attributes 'Main-Class': 'org.example.EconomistBot'
}
archiveBaseName.set('ThEconomistDownloader')
archiveVersion.set('1.0-SNAPSHOT')
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
with jar
}
dependencies {
testImplementation platform('org.junit:junit-bom:5.9.1')
testImplementation 'org.junit.jupiter:junit-jupiter'
implementation 'org.jsoup:jsoup:1.16.2'
// implementation 'com.github.pengrad:java-telegram-bot-api:6.9.1'
implementation 'org.telegram:telegrambots:6.8.0'
// https://mvnrepository.com/artifact/com.vladsch.flexmark/flexmark
implementation 'com.vladsch.flexmark:flexmark-all:0.62.2'
// Jetty core server and servlet API
implementation 'org.eclipse.jetty:jetty-server:9.4.31.v20200723'
implementation 'org.eclipse.jetty:jetty-servlet:9.4.31.v20200723'
// Servlet API
implementation 'javax.servlet:javax.servlet-api:4.0.1'
implementation 'com.google.code.gson:gson:2.8.6'
// https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java
implementation 'org.seleniumhq.selenium:selenium-java:4.15.0'
// https://mvnrepository.com/artifact/org.xerial/sqlite-jdbc
implementation 'org.xerial:sqlite-jdbc:3.44.0.0'
}
tasks.test {
useJUnitPlatform()
}