feat(content): add twelve-form Pokemon fan catalog

This commit is contained in:
2026-08-15 08:50:44 +02:00
parent 21371ee6e6
commit 098ce5caa4
18 changed files with 1428 additions and 1 deletions
+46
View File
@@ -0,0 +1,46 @@
plugins {
java
application
}
repositories {
mavenCentral()
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(25)
}
}
dependencies {
implementation("com.fasterxml.jackson.core:jackson-databind:2.20.0")
testImplementation(platform("org.junit:junit-bom:5.13.4"))
testImplementation("org.junit.jupiter:junit-jupiter")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
application {
mainClass = "dev.projectcapture.contenttools.ContentTool"
}
val fanContentRoot = rootProject.layout.projectDirectory
.dir("content-pokemon/src/main/resources/projectcapture/content/v1")
tasks.test {
useJUnitPlatform()
systemProperty("projectCapture.contentRoot", fanContentRoot.asFile.absolutePath)
}
tasks.register<JavaExec>("validateFanContent") {
group = "verification"
description = "Validates the unofficial, non-commercial fan-content catalog."
classpath = sourceSets.main.get().runtimeClasspath
mainClass = application.mainClass
args("validate", fanContentRoot.asFile.absolutePath)
}
tasks.named("check") {
dependsOn("validateFanContent")
}