You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
95 lines
3.1 KiB
95 lines
3.1 KiB
1 year ago
|
plugins {
|
||
|
id 'java'
|
||
|
id 'org.springframework.boot' version '2.5.1'
|
||
|
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
|
||
|
id 'com.ewerk.gradle.plugins.querydsl' version '1.0.10'
|
||
|
}
|
||
|
|
||
|
group = 'com.palnet'
|
||
|
version = '0.0.1-SNAPSHOT'
|
||
|
|
||
|
java {
|
||
|
sourceCompatibility = '11'
|
||
|
}
|
||
|
|
||
|
compileJava {
|
||
|
options.compilerArgs += [
|
||
|
'-Amapstruct.unmappedTargetPolicy=IGNORE',
|
||
|
'-Amapstruct.unmappedSourcePolicy=IGNORE'
|
||
|
]
|
||
|
}
|
||
|
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
// spring
|
||
|
implementation 'org.springframework.boot:spring-boot-starter'
|
||
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
||
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
||
|
implementation 'org.springframework.boot:spring-boot-starter-cache'
|
||
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
||
|
implementation 'org.springframework.boot:spring-boot-starter-jdbc'
|
||
|
// db
|
||
|
runtimeOnly 'mysql:mysql-connector-java'
|
||
|
|
||
|
// log
|
||
|
implementation 'ch.qos.logback:logback-classic'
|
||
|
// aws
|
||
|
implementation 'org.springframework.cloud:spring-cloud-starter-aws:2.0.1.RELEASE'
|
||
|
implementation 'org.springframework.cloud:spring-cloud-aws-context:1.2.1.RELEASE'
|
||
|
implementation 'org.springframework.cloud:spring-cloud-aws-autoconfigure:2.0.1.RELEASE'
|
||
|
|
||
|
// lombok, mapstruct
|
||
|
implementation 'org.mapstruct:mapstruct:1.5.5.Final'
|
||
|
implementation 'org.projectlombok:lombok:1.18.28'
|
||
|
|
||
|
annotationProcessor 'org.mapstruct:mapstruct-processor:1.5.5.Final'
|
||
|
annotationProcessor 'org.projectlombok:lombok:1.18.28'
|
||
|
annotationProcessor 'org.projectlombok:lombok-mapstruct-binding:0.2.0'
|
||
|
|
||
|
// querydsl - jpa
|
||
|
implementation 'com.querydsl:querydsl-core:5.0.0'
|
||
|
implementation 'com.querydsl:querydsl-jpa:5.0.0'
|
||
|
annotationProcessor 'com.querydsl:querydsl-apt:5.0.0'
|
||
|
|
||
|
// other
|
||
|
implementation 'io.jsonwebtoken:jjwt:0.9.1'
|
||
|
implementation 'io.netty:netty-all:4.1.9.Final'
|
||
|
implementation 'org.bgee.log4jdbc-log4j2:log4jdbc-log4j2-jdbc4:1.16'
|
||
|
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr353'
|
||
|
implementation 'org.apache.httpcomponents:httpclient'
|
||
|
implementation 'org.apache.commons:commons-lang3'
|
||
|
implementation 'commons-httpclient:commons-httpclient:3.1'
|
||
|
implementation 'com.googlecode.json-simple:json-simple:1.1.1'
|
||
|
implementation 'io.springfox:springfox-boot-starter:3.0.0'
|
||
|
implementation 'com.esri.geometry:esri-geometry-api:2.2.4'
|
||
|
implementation 'org.locationtech.proj4j:proj4j:1.1.5'
|
||
|
implementation 'org.locationtech.jts:jts-core:1.18.0'
|
||
|
implementation 'org.json:json:20220320'
|
||
|
|
||
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
||
|
testAnnotationProcessor "org.mapstruct:mapstruct-processor:1.5.5.Final"
|
||
|
|
||
|
}
|
||
|
|
||
|
tasks.named('test') {
|
||
|
useJUnitPlatform()
|
||
|
}
|
||
|
|
||
|
def querydslDir = "$buildDir/generated/querydsl"
|
||
|
querydsl {
|
||
|
jpa = true
|
||
|
querydslSourcesDir = querydslDir
|
||
|
}
|
||
|
sourceSets {
|
||
|
main.java.srcDir querydslDir
|
||
|
}
|
||
|
configurations {
|
||
|
querydsl.extendsFrom compileClasspath
|
||
|
}
|
||
|
compileQuerydsl {
|
||
|
options.annotationProcessorPath = configurations.querydsl
|
||
|
}
|