remove gradle stuff
This commit is contained in:
@@ -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")
|
||||
}
|
||||
@@ -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")
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
package moe.rosa.planterette.dsl
|
||||
|
||||
import moe.rosa.planterette.PlanteretteConfig
|
||||
|
||||
@PlanteretteDSL
|
||||
fun PlanteretteConfig.metadata() {
|
||||
|
||||
}
|
||||
@@ -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") {
|
||||
Reference in New Issue
Block a user