Skip to content

Commit

Permalink
Build: Fix typing-generator requiring api file
Browse files Browse the repository at this point in the history
  • Loading branch information
camnwalter committed Feb 7, 2024
1 parent c52009d commit e063681
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 12 deletions.
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ java {
}

apiValidation {
ignoredPackages.add("com.chattriggers.ctjs.internal")
ignoredProjects += "typing-generator"
ignoredPackages += "com.chattriggers.ctjs.internal"
}

tasks {
Expand Down
3 changes: 2 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ devauth = { module = "me.djtheredstoner:DevAuth-fabric", version.ref = "devauth"
versioning = { module = "org.jetbrains.dokka:versioning-plugin", version.ref = "dokka" }

ksp = { module = "com.google.devtools.ksp:symbol-processing-api", version.ref = "ksp" }
gradle-plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }

[bundles]
fabric = ["fabric-loader", "fabric-api", "fabric-kotlin"]
Expand All @@ -65,4 +66,4 @@ loom = { id = "fabric-loom", version.ref = "loom" }
dokka = { id = "org.jetbrains.dokka", version.ref = "dokka" }
validator = { id = "org.jetbrains.kotlinx.binary-compatibility-validator", version.ref = "validator" }
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
kotlin-gradle-plugin = { id = "org.jetbrains.kotlin.gradle-plugin", version.ref = "kotlin" }

8 changes: 7 additions & 1 deletion typing-generator/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
buildscript {
dependencies {
classpath(libs.gradle.plugin)
}
}

plugins {
kotlin("jvm")
alias(libs.plugins.kotlin)
}

repositories {
Expand Down
9 changes: 0 additions & 9 deletions typing-generator/settings.gradle.kts

This file was deleted.

0 comments on commit e063681

Please sign in to comment.