Skip to content
Snippets Groups Projects

prod stuff

Merged Robin Schoch requested to merge master into release
3 files
+ 39
27
Compare changes
  • Side-by-side
  • Inline
Files
3
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("org.springframework.boot") version "2.4.3"
id("io.spring.dependency-management") version "1.0.11.RELEASE"
kotlin("jvm") version "1.4.30"
kotlin("plugin.spring") version "1.4.30"
kotlin("plugin.jpa") version "1.4.30"
id("org.springframework.boot") version "2.4.3"
id("io.spring.dependency-management") version "1.0.11.RELEASE"
kotlin("jvm") version "1.4.30"
kotlin("plugin.spring") version "1.4.30"
kotlin("plugin.jpa") version "1.4.30"
}
group = "ch.fhnw.wodss"
@@ -13,47 +13,49 @@ version = "0.0.1-SNAPSHOT"
java.sourceCompatibility = JavaVersion.VERSION_15
repositories {
mavenCentral()
mavenCentral()
}
dependencies {
runtimeOnly("mysql:mysql-connector-java")
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
implementation("org.jetbrains.kotlin:kotlin-reflect")
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
testImplementation("org.springframework.boot:spring-boot-starter-test")
runtimeOnly("mysql:mysql-connector-java")
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
implementation("org.jetbrains.kotlin:kotlin-reflect")
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
testImplementation("org.springframework.boot:spring-boot-starter-test")
implementation(group = "org.hibernate", name = "hibernate-spatial", version = "5.4.30.Final")
implementation(group = "org.hibernate", name = "hibernate-core", version = "5.4.30.Final")
implementation(group = "org.hibernate", name = "hibernate-spatial", version = "5.4.30.Final")
implementation(group = "org.hibernate", name = "hibernate-core", version = "5.4.30.Final")
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.12.2")
implementation("commons-io:commons-io:2.8.0")
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.12.2")
//implementation(group = "com.fasterxml.jackson.core", name = "jackson-annotation", version = "2.12.2")
//implementation(group = "com.fasterxml.jackson.core", name = "jackson-databind", version = "2.12.2")
/*
<dependency>
/*
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>${jackson.version}</version>
</dependency>
*/
*/
}
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
jvmTarget = "15"
}
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
jvmTarget = "15"
}
}
tasks.getByName<Jar>("jar") {
enabled = true
enabled = true
}
tasks.withType<Test> {
useJUnitPlatform()
useJUnitPlatform()
}
Loading