2023-03-15 21:52:13 +00:00
|
|
|
// SPDX-FileCopyrightText: 2022 The CC: Tweaked Developers
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2022-11-06 15:07:13 +00:00
|
|
|
plugins {
|
|
|
|
id("cc-tweaked.forge")
|
|
|
|
id("cc-tweaked.publishing")
|
|
|
|
}
|
|
|
|
|
|
|
|
java {
|
|
|
|
withJavadocJar()
|
|
|
|
}
|
|
|
|
|
|
|
|
cct.inlineProject(":common-api")
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
api(project(":core-api"))
|
2024-05-07 21:58:25 +00:00
|
|
|
|
|
|
|
// FIXME: This should be implementation (and in the common Forge config)
|
|
|
|
// but NeoGradle does weird things and we end up with two Forge deps on the
|
|
|
|
// classpath - https://github.com/neoforged/NeoGradle/issues/162.
|
|
|
|
compileOnly("net.neoforged:neoforge:${libs.versions.neoForge.get()}")
|
2022-11-06 15:07:13 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks.javadoc {
|
|
|
|
include("dan200/computercraft/api/**/*.java")
|
|
|
|
}
|