2021-02-15 16:32:16 +09:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
2022-07-14 13:05:23 +09:00
|
|
|
id 'org.jetbrains.kotlin.jvm' version '1.7.10'
|
2021-02-15 16:32:16 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
group 'jp.juggler'
|
|
|
|
version '0.0.1'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-10-28 05:58:19 +09:00
|
|
|
implementation fileTree(include: ['*.jar'], dir: 'src/lib')
|
2022-07-14 13:05:23 +09:00
|
|
|
implementation "com.google.guava:guava:31.1-jre"
|
2021-02-15 16:32:16 +09:00
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib"
|
2022-07-14 13:05:23 +09:00
|
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
|
2021-02-15 16:32:16 +09:00
|
|
|
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
|
|
|
|
|
2022-07-14 13:05:23 +09:00
|
|
|
def ktorVersion="2.0.3"
|
2021-10-28 05:58:19 +09:00
|
|
|
implementation "io.ktor:ktor-client-core:$ktorVersion"
|
|
|
|
implementation "io.ktor:ktor-client-cio:$ktorVersion"
|
2022-07-14 13:05:23 +09:00
|
|
|
// implementation "io.ktor:ktor-client-features:$ktorVersion"
|
2021-10-28 05:58:19 +09:00
|
|
|
implementation "io.ktor:ktor-client-encoding:$ktorVersion"
|
2021-02-15 16:32:16 +09:00
|
|
|
|
|
|
|
// StringEscapeUtils.unescapeHtml4
|
|
|
|
implementation "org.apache.commons:commons-text:1.9"
|
|
|
|
|
|
|
|
// HTML5パーサ
|
2022-07-14 13:05:23 +09:00
|
|
|
implementation "org.jsoup:jsoup:1.14.3"
|
2021-02-15 16:32:16 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
2021-10-28 05:58:19 +09:00
|
|
|
}
|
|
|
|
java {
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
2021-02-15 16:32:16 +09:00
|
|
|
}
|