2021-02-15 08:32:16 +01:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
2021-06-09 01:44:12 +02:00
|
|
|
id 'org.jetbrains.kotlin.jvm' version '1.5.10'
|
2021-02-15 08:32:16 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
group 'jp.juggler'
|
|
|
|
version '0.0.1'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-10-27 22:58:19 +02:00
|
|
|
implementation fileTree(include: ['*.jar'], dir: 'src/lib')
|
2021-02-15 08:32:16 +01:00
|
|
|
implementation "com.google.guava:guava:28.1-jre"
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib"
|
2021-10-27 22:58:19 +02:00
|
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0'
|
2021-02-15 08:32:16 +01:00
|
|
|
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
|
|
|
|
|
2021-10-27 22:58:19 +02:00
|
|
|
def ktorVersion="1.5.0"
|
|
|
|
implementation "io.ktor:ktor-client-core:$ktorVersion"
|
|
|
|
implementation "io.ktor:ktor-client-cio:$ktorVersion"
|
|
|
|
implementation "io.ktor:ktor-client-features:$ktorVersion"
|
|
|
|
implementation "io.ktor:ktor-client-encoding:$ktorVersion"
|
2021-02-15 08:32:16 +01:00
|
|
|
|
|
|
|
// StringEscapeUtils.unescapeHtml4
|
|
|
|
implementation "org.apache.commons:commons-text:1.9"
|
|
|
|
|
|
|
|
// HTML5パーサ
|
|
|
|
implementation "org.jsoup:jsoup:1.13.1"
|
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
2021-10-27 22:58:19 +02:00
|
|
|
}
|
|
|
|
java {
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
2021-02-15 08:32:16 +01:00
|
|
|
}
|