remove gradle stuff

This commit is contained in:
mae
2025-11-15 12:08:09 -06:00
parent 8bb386ebf7
commit 8bd952a4c8
26 changed files with 34 additions and 522 deletions

View File

@@ -1,30 +1,19 @@
plugins {
kotlin("jvm") version "2.2.10"
kotlin("plugin.serialization") version "2.2.20"
tasks.register("build").configure {
group = "build"
dependsOn("test")
dependsOn(":plt-build:build")
dependsOn(":plt-build-wrapper:compileGo")
dependsOn(":plt-fetch:compileGo")
dependsOn(":plt-pkg:compileGo")
dependsOn(":plt-server:compileGo")
dependsOn(":plt-updated:compileGo")
}
group = "moe.rosa"
version = "0.1.0"
repositories {
mavenCentral()
}
dependencies {
testImplementation(platform("org.junit:junit-bom:5.10.0"))
testImplementation("org.junit.jupiter:junit-jupiter")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testImplementation(kotlin("test"))
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.9.0")
implementation(kotlin("reflect"))
}
kotlin {
jvmToolchain(24)
}
tasks.test {
useJUnitPlatform()
}
project.layout.buildDirectory.set(file("../build"))
tasks.register("test").configure {
group = "verification"
dependsOn(":plt-build:test")
dependsOn(":plt-build-wrapper:testGo")
dependsOn(":plt-fetch:testGo")
dependsOn(":plt-pkg:testGo")
dependsOn(":plt-server:testGo")
dependsOn(":plt-updated:testGo")
}

View File

@@ -1 +1,6 @@
rootProject.name = "plt-build"
include("plt-build")
include("plt-build-wrapper")
include("plt-fetch")
include("plt-pkg")
include("plt-server")
include("plt-updated")

View File

@@ -0,0 +1,8 @@
package moe.rosa.planterette.dsl
import moe.rosa.planterette.PlanteretteConfig
@PlanteretteDSL
fun PlanteretteConfig.metadata() {
}

View File

@@ -1,9 +1,8 @@
import moe.rosa.planterette.dsl.*
import moe.rosa.planterette.dsl.DSLEnablements.*
import kotlin.test.Test
import kotlin.test.assertEquals
import kotlin.test.*
class DSLTest {
class HakureiDSLTest {
companion object {
val HAKUREI_DSL_TEST = planterette {
hakurei("org.chromium.Chromium") {