diff options
author | terminaldweller <thabogre@gmail.com> | 2022-03-16 18:20:07 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-03-16 18:20:07 +0000 |
commit | 21b33c3e86aa2bdba726bc527f5ba306812cf68e (patch) | |
tree | 9ace98da24395103bc3b8b7bad6409b818a8b089 /build.gradle.kts | |
parent | wip (diff) | |
download | mdrtl-21b33c3e86aa2bdba726bc527f5ba306812cf68e.tar.gz mdrtl-21b33c3e86aa2bdba726bc527f5ba306812cf68e.zip |
daily commit.wip
Diffstat (limited to '')
-rw-r--r-- | build.gradle.kts | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index d08e6f6..30630b9 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -4,7 +4,7 @@ plugins { // application id("org.springframework.boot") version "2.6.4" id("io.spring.dependency-management") version "1.0.11.RELEASE" - id("java") + id("java-library") } repositories { @@ -12,10 +12,11 @@ repositories { } dependencies { - // implementation("org.springframework.boot:spring-boot-starter-data-jdbc") + implementation("org.springframework.boot:spring-boot-starter-data-jdbc") + implementation("org.springframework.boot:spring-boot-starter-data-jpa") implementation("org.springframework.boot:spring-boot-starter-web") - // runtimeOnly("org.postgresql:postgresql") - testImplementation("org.springframework.boot:spring-boot-starter-test") + runtimeOnly("org.postgresql:postgresql") + testImplementation("org.hibernate.javax.persistence:hibernate-jpa-2.1-api") } // tasks.create("FatJar", Jar::class) { @@ -59,6 +60,6 @@ java { tasks.compileJava { options.isIncremental = true options.isFork = true - options.isFailOnError = false + options.isFailOnError = true options.release.set(11) } |