ottobotv2/build.gradle
2019-05-20 23:10:28 +02:00

55 lines
1.3 KiB
Groovy

plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.3.31'
id 'org.springframework.boot' version '2.1.4.RELEASE'
id "io.spring.dependency-management" version "1.0.7.RELEASE"
id 'org.jetbrains.kotlin.plugin.spring' version '1.3.31'
id 'org.jetbrains.kotlin.plugin.jpa' version '1.3.31'
}
apply plugin: 'kotlin-jpa'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-allopen'
allOpen {
annotation("javax.persistence.Entity")
}
group 'nl.voidcorp.discord'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
jcenter()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation 'org.jetbrains.kotlin:kotlin-reflect'
testCompile group: 'junit', name: 'junit', version: '4.12'
implementation 'net.dv8tion:JDA:4.ALPHA.0_88'
// runtimeOnly "ch.qos.logback:logback-classic:1.2.1"
implementation "com.h2database:h2"
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
}
compileKotlin {
kotlinOptions {
freeCompilerArgs = ["-Xjsr305=strict"]
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
freeCompilerArgs = ["-Xjsr305=strict"]
jvmTarget = "1.8"
}
}