Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plugins {
- id 'java'
- id "com.ewerk.gradle.plugins.querydsl" version "1.0.10"
- }
- group = 'com.baxter.sinverguenza'
- version = '1.0-SNAPSHOT'
- repositories {
- mavenCentral()
- }
- sourceSets {
- main {
- java {
- srcDirs += "$buildDir/generated/sources/annotationProcessor/java/main"
- }
- }
- }
- java {
- sourceCompatibility = JavaVersion.VERSION_17
- targetCompatibility = JavaVersion.VERSION_17
- }
- configurations {
- querydsl.extendsFrom implementation, runtimeOnly, compileOnly
- }
- dependencies {
- implementation 'org.hibernate:hibernate-core:6.1.5.Final'
- implementation 'com.fasterxml.jackson.core:jackson-databind:2.15.2'
- implementation 'org.slf4j:slf4j-log4j12:2.0.9'
- implementation "com.querydsl:querydsl-jpa:5.0.0:jakarta"
- annotationProcessor "com.querydsl:querydsl-apt:5.0.0:jakarta"
- annotationProcessor "jakarta.persistence:jakarta.persistence-api:3.1.0"
- runtimeOnly 'org.postgresql:postgresql:42.6.0'
- compileOnly 'org.projectlombok:lombok:1.18.30'
- annotationProcessor 'org.projectlombok:lombok:1.18.30'
- testCompileOnly 'org.projectlombok:lombok:1.18.30'
- testAnnotationProcessor 'org.projectlombok:lombok:1.18.30'
- testImplementation platform('org.junit:junit-bom:5.9.1')
- testImplementation 'org.junit.jupiter:junit-jupiter'
- testImplementation 'org.assertj:assertj-core:3.24.2'
- }
- querydsl {
- jpa = true
- querydslSourcesDir = "$buildDir/generated/sources/annotationProcessor/java/main"
- }
- compileQuerydsl {
- options.annotationProcessorPath = configurations.querydsl
- }
- test {
- useJUnitPlatform()
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement