Skip to content

Commit

Permalink
Goodbye Groovy... you were too funky to fit in the groove.
Browse files Browse the repository at this point in the history
  • Loading branch information
acharneski committed Dec 5, 2023
1 parent 80e11ac commit 025ea09
Show file tree
Hide file tree
Showing 103 changed files with 6,867 additions and 4,775 deletions.
22 changes: 4 additions & 18 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ fun environment(key: String) = providers.environmentVariable(key).get()

plugins {
id("java") // Java support
id("groovy")
id("org.jetbrains.kotlin.jvm") version "1.9.21"
id("org.jetbrains.intellij") version "1.16.1"
id("org.jetbrains.changelog") version "2.2.0"
Expand Down Expand Up @@ -46,8 +45,6 @@ dependencies {
// implementation(group = "com.simiacryptus.skyenet", name = "kotlin-hack", version = "1.0.42")
// { isTransitive = false }

implementation("org.codehaus.groovy:groovy-all:3.0.13")

implementation(group = "org.apache.httpcomponents.client5", name = "httpclient5", version = "5.2.1")
implementation(group = "org.eclipse.jetty", name = "jetty-server", version = jetty_version)
implementation(group = "org.eclipse.jetty", name = "jetty-servlet", version = jetty_version)
Expand All @@ -67,19 +64,15 @@ dependencies {
}


tasks.register<Copy>("copyGroovySourcesToResources") {
from("src/main/groovy")
into("src/main/resources/sources/groovy")
tasks.register<Copy>("copySourcesToResources") {
from("src/main/kotlin")
into("src/main/resources/sources/kt")
}
tasks.named("processResources") {
dependsOn("copyGroovySourcesToResources")
dependsOn("copySourcesToResources")
}






kotlin {
jvmToolchain(17)
}
Expand All @@ -88,16 +81,9 @@ tasks {
compileKotlin {
compilerOptions {
javaParameters = true
version = "17"
}
}

compileGroovy {
dependsOn += compileKotlin
classpath += files(compileKotlin.get().destinationDirectory)
groovyOptions.isParameters = true
}

compileTestKotlin {
compilerOptions {
javaParameters = true
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 025ea09

Please sign in to comment.