This commit is contained in:
dean
2026-04-15 12:36:58 +09:00
parent b23c3e2689
commit e358d9def5
19 changed files with 1266 additions and 1 deletions

View File

@@ -0,0 +1,67 @@
plugins {
id 'java'
id 'org.springframework.boot' version '3.5.7'
id 'io.spring.dependency-management' version '1.1.7'
}
group = 'com.kamco'
version = '2.0.0'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
repositories {
mavenCentral()
maven { url 'https://repo.osgeo.org/repository/release/' }
maven { url 'https://repo.osgeo.org/repository/geotools-releases/' }
}
ext {
geoToolsVersion = '30.0'
}
configurations.all {
exclude group: 'javax.media', module: 'jai_core'
}
bootJar {
archiveFileName = "shp-exporter-v2.jar"
}
jar {
enabled = false
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter'
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
implementation 'org.springframework.boot:spring-boot-starter-batch'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.postgresql:postgresql'
implementation 'com.zaxxer:HikariCP'
implementation 'net.postgis:postgis-jdbc:2.5.1'
implementation 'org.locationtech.jts:jts-core:1.19.0'
implementation "org.geotools:gt-shapefile:${geoToolsVersion}"
implementation "org.geotools:gt-referencing:${geoToolsVersion}"
implementation "org.geotools:gt-epsg-hsql:${geoToolsVersion}"
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
}
tasks.named('test') {
useJUnitPlatform()
}
bootRun {
jvmArgs = ['-Xmx128g', '-Xms8g', '-XX:+UseG1GC',
'-XX:MaxGCPauseMillis=200',
'-XX:G1HeapRegionSize=16m',
'-XX:+ParallelRefProcEnabled']
}