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' java { sourceCompatibility = '11' } compileJava { options.compilerArgs += [ '-Amapstruct.unmappedTargetPolicy=IGNORE', '-Amapstruct.unmappedSourcePolicy=IGNORE' ] } repositories { mavenCentral { content { excludeModule("javax.media", "jai_core") } } maven { url "https://repo.osgeo.org/repository/release" } } jar { enabled = false } dependencies { // implementation project(':pav-common') // 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' developmentOnly 'org.springframework.boot:spring-boot-devtools' // thymeleaf implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' // pdf create implementation 'com.itextpdf:itextpdf:5.5.13' implementation 'com.itextpdf.tool:xmlworker:5.5.13' implementation 'com.itextpdf:pdfa:7.2.3' // 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 compileOnly 'org.projectlombok:lombok:1.18.28' annotationProcessor 'org.projectlombok:lombok:1.18.28' implementation 'org.mapstruct:mapstruct:1.5.5.Final' annotationProcessor 'org.mapstruct:mapstruct-processor:1.5.5.Final' 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' implementation 'com.querydsl:querydsl-sql: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 '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 'org.json:json:20220320' implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr353' // implementation 'com.fasterxml.jackson.core:jackson-databind:2.15.2' // implementation 'com.bedatadriven:jackson-datatype-jts:2.4' // implementation 'de.grundid.opendatalab:geojson-jackson:1.14' // geometry implementation 'com.esri.geometry:esri-geometry-api:2.2.4' implementation 'org.locationtech.proj4j:proj4j:1.3.0' implementation 'org.locationtech.proj4j:proj4j-epsg:1.3.0' implementation 'org.locationtech.jts:jts-core:1.19.0' implementation 'org.geotools:gt-geojson:29.2' testImplementation 'org.springframework.boot:spring-boot-starter-test' testAnnotationProcessor "org.mapstruct:mapstruct-processor:1.5.5.Final" } tasks.named('test') { useJUnitPlatform() } tasks.withType(JavaCompile) { options.encoding = "UTF-8" } def querydslDir = "$buildDir/generated/querydsl" querydsl { jpa = true querydslSourcesDir = querydslDir } sourceSets { main.java.srcDir querydslDir } configurations { querydsl.extendsFrom compileClasspath } compileQuerydsl { options.annotationProcessorPath = configurations.querydsl }