Created
June 25, 2021 06:42
-
-
Save zachpendleton/48f8873201abe544c5f009b97ccaa2e9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id 'org.springframework.boot' version '2.5.1' | |
id 'io.spring.dependency-management' version '1.0.11.RELEASE' | |
id 'java' | |
} | |
group = 'com.example' | |
version = '0.0.1-SNAPSHOT' | |
sourceCompatibility = '16' | |
configurations { | |
compileOnly { | |
extendsFrom annotationProcessor | |
} | |
} | |
repositories { | |
mavenCentral() | |
} | |
task jooqGenerate(type: JavaExec) { | |
classpath = sourceSets.test.runtimeClasspath | |
mainClass = 'org.jooq.codegen.GenerationTool' | |
args 'jooq.xml' | |
} | |
dependencies { | |
implementation 'org.springframework.boot:spring-boot-starter-actuator' | |
// implementation 'org.springframework.boot:spring-boot-starter-cache' | |
// implementation 'org.springframework.boot:spring-boot-starter-data-redis' | |
implementation 'org.springframework.boot:spring-boot-starter-jooq' | |
implementation 'org.springframework.boot:spring-boot-starter-validation' | |
implementation 'org.springframework.boot:spring-boot-starter-web' | |
implementation 'org.flywaydb:flyway-core' | |
runtimeOnly 'org.postgresql:postgresql' | |
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor' | |
testImplementation 'org.springframework.boot:spring-boot-starter-test' | |
testImplementation('org.jooq:jooq-codegen:3.14.11') | |
testImplementation('org.jooq:jooq-meta:3.14.11') | |
} | |
test { | |
useJUnitPlatform() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment