Init project
This commit is contained in:
39
build.gradle
Normal file
39
build.gradle
Normal file
@@ -0,0 +1,39 @@
|
||||
plugins {
|
||||
id 'maven-publish'
|
||||
id 'org.jetbrains.kotlin.jvm' version '1.3.31'
|
||||
}
|
||||
|
||||
apply plugin: 'kotlin'
|
||||
|
||||
group 'fr.postgresjson'
|
||||
version '0.1'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
jcenter()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
|
||||
implementation "org.jetbrains.kotlin:kotlin-reflect:1.3.31"
|
||||
implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.9.9"
|
||||
|
||||
testImplementation "io.mockk:mockk:1.9"
|
||||
testImplementation "org.junit.jupiter:junit-jupiter:5.4.2"
|
||||
}
|
||||
|
||||
compileKotlin {
|
||||
kotlinOptions.jvmTarget = "1.8"
|
||||
}
|
||||
|
||||
compileTestKotlin {
|
||||
kotlinOptions.jvmTarget = "1.8"
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
mavenJava(MavenPublication) {
|
||||
from components.java
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user