-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
61 lines (48 loc) · 1.63 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
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.7.0'
id 'com.github.johnrengelman.shadow' version '7.1.2'
id "org.jetbrains.kotlin.kapt" version '1.7.0'
id 'java'
}
group 'org.example'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
mavenCentral()
maven {
url 'https://maven.pkg.jetbrains.space/public/p/ktor/eap'
name 'ktor-eap'
}
}
shadowJar {
archiveBaseName.set('scrapper')
archiveClassifier.set('')
archiveVersion.set('')
}
jar {
manifest {
attributes["Main-Class"] = "Scrapper"
}
}
dependencies {
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.7.0'
// https://mvnrepository.com/artifact/org.jsoup/jsoup
implementation 'org.xerial:sqlite-jdbc:3.36.0.3'
implementation('com.google.guava:guava:31.1-jre')
// https://mvnrepository.com/artifact/org.jetbrains.exposed/exposed-core
implementation 'org.jetbrains.exposed:exposed-core:0.38.2'
implementation "io.ktor:ktor-serialization-gson:2.0.2"
implementation "io.ktor:ktor-client-content-negotiation:2.0.2"
implementation 'net.seeseekey:epubwriter:1.0.3'
implementation 'io.ktor:ktor-client-okhttp-jvm:2.0.3'
implementation 'io.ktor:ktor-client-gson-jvm:2.0.3'
// https://mvnrepository.com/artifact/org.jetbrains.exposed/exposed-jdbc
runtimeOnly 'org.jetbrains.exposed:exposed-jdbc:0.38.2'
implementation 'org.litote.kmongo:kmongo:4.6.1'
kapt 'org.litote.kmongo:kmongo-annotation-processor:4.6.1'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
}
test {
useJUnitPlatform()
}