48 lines
1.3 KiB
Kotlin
48 lines
1.3 KiB
Kotlin
plugins {
|
|
kotlin("jvm") version "2.0.10"
|
|
kotlin("plugin.spring") version "2.0.10"
|
|
id("org.springframework.boot") version "3.3.3"
|
|
id("io.spring.dependency-management") version "1.1.6"
|
|
}
|
|
|
|
group = "com.lanyuanxiaoyao"
|
|
version = "0.0.1-SNAPSHOT"
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(17)
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
maven {
|
|
url = uri("http://maven.lanyuanxiaoyao.com/central")
|
|
isAllowInsecureProtocol = true
|
|
credentials {
|
|
username = "lanyuanxiaoyao"
|
|
password = "cL9AFT6VkNlrK8TyYI43RSW8OhtTYzg6GPc1bXzBmnsXeU9T/X6S0q//K5TDZF1g"
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation("org.seleniumhq.selenium:selenium-java:4.23.1")
|
|
|
|
implementation("cn.hutool:hutool-core:5.8.16")
|
|
implementation("cn.hutool:hutool-http:5.8.16")
|
|
implementation("cn.hutool:hutool-crypto:5.8.16")
|
|
|
|
implementation("org.springframework.retry:spring-retry")
|
|
implementation("org.springframework.boot:spring-boot-starter-web")
|
|
implementation("org.springframework.boot:spring-boot-starter-mail")
|
|
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor")
|
|
|
|
implementation("org.jetbrains.kotlin:kotlin-reflect")
|
|
}
|
|
|
|
kotlin {
|
|
compilerOptions {
|
|
freeCompilerArgs.addAll("-Xjsr305=strict")
|
|
}
|
|
}
|