mirror of
https://bitbucket.org/projectswg/pswgcommon.git
synced 2026-01-15 22:04:33 -05:00
Changed build script to kotlin's DSL
This commit is contained in:
24
build.gradle
24
build.gradle
@@ -1,24 +0,0 @@
|
||||
plugins {
|
||||
id 'idea'
|
||||
id 'java'
|
||||
id "org.javamodularity.moduleplugin"
|
||||
}
|
||||
|
||||
sourceCompatibility = 12
|
||||
|
||||
idea {
|
||||
module {
|
||||
inheritOutputDirs = true
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
jcenter()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile group: 'me.joshlarson', name: 'jlcommon', version: '1.9.1'
|
||||
compile group: 'org.bouncycastle', name: 'bcprov-jdk15on', version: '1.60'
|
||||
compile group: 'org.mongodb', name: 'mongodb-driver-sync', version: '3.10.2'
|
||||
testCompile 'junit:junit:4.12'
|
||||
}
|
||||
32
build.gradle.kts
Normal file
32
build.gradle.kts
Normal file
@@ -0,0 +1,32 @@
|
||||
plugins {
|
||||
idea
|
||||
java
|
||||
id("org.jetbrains.kotlin.jvm")
|
||||
id("org.javamodularity.moduleplugin")
|
||||
}
|
||||
|
||||
idea {
|
||||
targetVersion = "12.0.1"
|
||||
module {
|
||||
inheritOutputDirs = true
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
jcenter()
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
dependencies {
|
||||
api(group="me.joshlarson", name="jlcommon", version="1.9.1")
|
||||
api(group="org.bouncycastle", name="bcprov-jdk15on", version="1.60")
|
||||
api(group="org.mongodb", name="mongodb-driver-sync", version="3.10.2")
|
||||
}
|
||||
}
|
||||
test {
|
||||
dependencies {
|
||||
implementation(group="junit", name="junit", version="4.12")
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user