Skip to content
This repository has been archived by the owner on Dec 4, 2022. It is now read-only.

Commit

Permalink
Refactored dependencies. Test only dependencies isolated
Browse files Browse the repository at this point in the history
  • Loading branch information
Doomsdayrs committed Jun 10, 2021
1 parent f13f650 commit 612b85c
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,30 +26,35 @@ repositories {
}

dependencies {
implementation(kotlin("stdlib"))
implementation("org.jsoup:jsoup:1.13.1")
implementation(kotlin("stdlib-jdk8"))
dokkaHtmlPlugin("org.jetbrains.dokka:kotlin-as-java-plugin:1.4.32")

// ### Core Libraries
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.2.1")

// java only
implementation("org.jsoup:jsoup:1.13.1")
implementation("org.luaj:luaj-jse:3.0.1")
implementation("com.squareup.okhttp3:okhttp:4.9.1")
implementation("com.google.guava:guava:30.1.1-jre")
implementation("net.java.dev.jna:jna:5.8.0") // for KTS

// Cross platform confirmed
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.2.1")

implementation(kotlin("reflect"))
implementation(kotlin("script-runtime"))
implementation(kotlin("script-util"))
implementation(kotlin("compiler-embeddable"))
implementation(kotlin("scripting-compiler-embeddable"))
implementation(kotlin("script-util"))
// ### Testing Libraries
testImplementation(kotlin("stdlib"))
testImplementation(kotlin("stdlib-jdk8"))

testImplementation("net.java.dev.jna:jna:5.8.0") // for KTS

testImplementation(kotlin("reflect"))
testImplementation(kotlin("script-runtime"))
testImplementation(kotlin("script-util"))
testImplementation(kotlin("compiler-embeddable"))
testImplementation(kotlin("scripting-compiler-embeddable"))
testImplementation(kotlin("script-util"))

testImplementation(kotlin("test"))
}


val compileTestKotlin: KotlinCompile by tasks
compileTestKotlin.kotlinOptions {
languageVersion = "1.5"
Expand Down

0 comments on commit 612b85c

Please sign in to comment.