57 lines
1.6 KiB
Groovy
57 lines
1.6 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.1.1'
|
|
id 'edu.sc.seis.launch4j' version '2.5.1'
|
|
id 'com.github.johnrengelman.shadow' version '7.0.0'
|
|
id 'io.spring.dependency-management' version '1.0.7.RELEASE'
|
|
}
|
|
|
|
launch4j {
|
|
headerType='console'
|
|
outfile = 'scanuploader.exe'
|
|
mainClassName = 'systems.archide.scanuploader.Cli'
|
|
chdir = ''
|
|
bundledJrePath = '%JAVA_HOME%'
|
|
jarTask = project.tasks.shadowJar
|
|
}
|
|
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
jcenter()
|
|
}
|
|
|
|
sourceSets.main.java.srcDirs += 'src/auto/java'
|
|
sourceSets.main.resources.srcDirs += 'src/auto/resources'
|
|
|
|
dependencies {
|
|
implementation group: 'com.machinezoo.sourceafis', name: 'sourceafis', version: '3.11.0'
|
|
|
|
implementation 'org.xerial:sqlite-jdbc:3.41.2.1'
|
|
|
|
implementation 'com.cedarsoftware:json-io:4.13.0'
|
|
implementation "org.springframework:spring-web:6.0.10"
|
|
implementation "org.springframework.boot:spring-boot-starter-web:3.1.1"
|
|
implementation "org.postgresql:postgresql:42.2.16"
|
|
implementation 'org.apache.commons:commons-lang3:3.12.0'
|
|
|
|
implementation 'com.google.guava:guava:28.2-jre'
|
|
|
|
implementation 'com.zaxxer:HikariCP:3.4.5'
|
|
compileOnly 'jakarta.servlet:jakarta.servlet-api:6.0.0'
|
|
implementation 'javax.annotation:javax.annotation-api:1.3.2'
|
|
|
|
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.7.3'
|
|
|
|
}
|
|
dependencyManagement {
|
|
imports {
|
|
mavenBom "io.grpc:grpc-bom:1.48.0"
|
|
}
|
|
}
|
|
shadowJar {
|
|
manifest {
|
|
attributes 'Main-Class': 'systems.archide.scanuploader.Cli'
|
|
}
|
|
mergeServiceFiles()
|
|
} |