48 lines
1.5 KiB
Groovy
48 lines
1.5 KiB
Groovy
plugins {
|
|
id 'java-library'
|
|
id 'maven-publish'
|
|
id "jacoco"
|
|
id 'org.springframework.boot' version '2.7.18'
|
|
id 'io.spring.dependency-management' version '1.1.4'
|
|
}
|
|
|
|
// Java 版本配置
|
|
sourceCompatibility = '1.8'
|
|
targetCompatibility = '1.8'
|
|
|
|
ext {
|
|
isSnapshot = false
|
|
}
|
|
|
|
apply from: "config.gradle"
|
|
apply from: "unittest.gradle"
|
|
|
|
group = 'info.panli'
|
|
version = '1.0.0' + (ext.isSnapshot ? '-SNAPSHOT' : '')
|
|
|
|
dependencies {
|
|
// Spring Boot + JPA + SQLite
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.xerial:sqlite-jdbc:3.42.0.0'
|
|
implementation 'com.github.gwenn:sqlite-dialect:0.1.4'
|
|
|
|
compileOnly 'org.projectlombok:lombok:1.18.26'
|
|
annotationProcessor 'org.projectlombok:lombok:1.18.26'
|
|
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.15.2'
|
|
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.15.2'
|
|
|
|
implementation group: 'commons-io', name: 'commons-io', version: '2.11.0'
|
|
|
|
implementation group: 'org.yaml', name: 'snakeyaml', version: '2.2'
|
|
|
|
implementation 'org.jfree:jfreechart:1.5.3'
|
|
|
|
implementation group: 'org.javatuples', name: 'javatuples', version: '1.2'
|
|
|
|
implementation 'info.panli:kit:1.0.19'
|
|
|
|
implementation group: 'org.apache.poi', name: 'poi', version: '5.2.2'
|
|
implementation group: 'org.apache.poi', name: 'poi-ooxml', version: '5.2.2'
|
|
|
|
} |