2023-03-15 21:52:13 +00:00
|
|
|
// SPDX-FileCopyrightText: 2022 The CC: Tweaked Developers
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2022-11-09 23:58:56 +00:00
|
|
|
import cc.tweaked.gradle.annotationProcessorEverywhere
|
|
|
|
import cc.tweaked.gradle.clientClasses
|
|
|
|
import cc.tweaked.gradle.commonClasses
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
id("cc-tweaked.vanilla")
|
|
|
|
id("cc-tweaked.gametest")
|
|
|
|
}
|
|
|
|
|
|
|
|
minecraft {
|
|
|
|
accessWideners(
|
|
|
|
"src/main/resources/computercraft.accesswidener",
|
|
|
|
"src/main/resources/computercraft-common.accesswidener",
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
// Pull in our other projects. See comments in MinecraftConfigurations on this nastiness.
|
|
|
|
implementation(project(":core"))
|
|
|
|
implementation(commonClasses(project(":common-api")))
|
|
|
|
clientImplementation(clientClasses(project(":common-api")))
|
|
|
|
|
|
|
|
compileOnly(libs.bundles.externalMods.common)
|
|
|
|
|
|
|
|
compileOnly(libs.mixin)
|
|
|
|
annotationProcessorEverywhere(libs.autoService)
|
2022-12-09 22:01:01 +00:00
|
|
|
testFixturesAnnotationProcessor(libs.autoService)
|
2022-11-09 23:58:56 +00:00
|
|
|
|
|
|
|
testImplementation(testFixtures(project(":core")))
|
|
|
|
testImplementation(libs.bundles.test)
|
|
|
|
testRuntimeOnly(libs.bundles.testRuntime)
|
|
|
|
|
|
|
|
testModImplementation(testFixtures(project(":core")))
|
2022-11-10 15:48:26 +00:00
|
|
|
testModImplementation(testFixtures(project(":common")))
|
2022-11-09 23:58:56 +00:00
|
|
|
testModImplementation(libs.bundles.kotlin)
|
|
|
|
}
|