1 Star 0 Fork 12

cty901/中国行政区划代码抓取处理

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle.kts 2.56 KB
一键复制 编辑 原始数据 按行查看 历史
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
idea
java
application
id("org.springframework.boot") version "2.3.3.RELEASE"
id("io.spring.dependency-management") version "1.0.10.RELEASE"
kotlin("jvm") version "1.4.0"
kotlin("plugin.jpa") version "1.4.0"
kotlin("plugin.spring") version "1.4.0"
kotlin("kapt") version "1.4.0"
}
group = "com.china"
version = "1.0-SNAPSHOT"
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
application {
mainClassName = "com.china.region.Application"
}
kapt {
useBuildCache = false
correctErrorTypes = true
javacOptions {
option("-Xjsr305", "strict")
}
}
idea {
module {
isDownloadJavadoc = true
isDownloadSources = true
}
}
configurations {
compileOnly {
extendsFrom(configurations.annotationProcessor.get())
}
}
repositories {
mavenLocal()
maven("https://maven.aliyun.com/repository/public")
maven("https://repo1.maven.org/maven2")
maven { setUrl("https://repo.typesafe.com/typesafe/maven-releases/") }
mavenCentral()
jcenter()
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.springframework.boot:spring-boot-starter-cache")
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
implementation("com.baomidou:mybatis-plus-boot-starter:+")
implementation("joda-time:joda-time:2.10.3")
implementation("org.jsoup:jsoup:1.11.3")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9")
implementation("com.github.ben-manes.caffeine:caffeine")
runtimeOnly("mysql:mysql-connector-java")
runtimeOnly("com.h2database:h2")
// https://mvnrepository.com/artifact/org.xerial/sqlite-jdbc
runtimeOnly("org.xerial:sqlite-jdbc") // 3.32.3.2
developmentOnly("org.springframework.boot:spring-boot-devtools")
compileOnly("org.projectlombok:lombok")
testCompileOnly("org.projectlombok:lombok")
kapt("org.projectlombok:lombok")
kapt("org.springframework.boot:spring-boot-configuration-processor")
testImplementation("org.springframework.batch:spring-batch-test")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("org.springframework.security:spring-security-test")
}
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
jvmTarget = "1.8"
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Kotlin
1
https://gitee.com/cty901/china-administrative-division.git
[email protected]:cty901/china-administrative-division.git
cty901
china-administrative-division
中国行政区划代码抓取处理
master

搜索帮助