File tree Expand file tree Collapse file tree 3 files changed +4
-9
lines changed
nova-gradle-plugin/src/main/kotlin/xyz/xenondevs/novagradle Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ package xyz.xenondevs.novagradle
22
33import org.gradle.api.Plugin
44import org.gradle.api.Project
5- import org.gradle.api.artifacts.component.ModuleComponentIdentifier
65import org.gradle.jvm.tasks.Jar
76import org.gradle.kotlin.dsl.create
87import org.gradle.kotlin.dsl.getByName
@@ -37,11 +36,9 @@ class NovaGradlePlugin : Plugin<Project> {
3736 devBundleVersion.set(Versions .PAPER )
3837 pluginId.set(addonExt.name.map { it.lowercase() })
3938 transitiveAccessWidenerSources.from(
40- project.configurations.getByName(" compileClasspath" ).incoming.artifactView {
41- componentFilter {
42- it is ModuleComponentIdentifier && it.group == " xyz.xenondevs.nova" && it.module == " nova"
43- }
44- }.files
39+ project.configurations.detachedConfiguration(
40+ project.dependencyFactory.create(" xyz.xenondevs.nova:nova:${Versions .NOVA } " )
41+ )
4542 )
4643 }
4744
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ dependencies {
2020 api(origamiLibs.mixinextras)
2121
2222 // internal dependencies
23- compileOnly(origami.patchedPaperServer())
2423 compileOnly(project(" :nova-api" ))
2524 novaLoader(libs.bundles.ktor)
2625 novaLoader(libs.bundles.minecraft.assets)
@@ -40,7 +39,6 @@ dependencies {
4039 testImplementation(libs.junit.jupiter)
4140 testImplementation(libs.kotlin.test.junit)
4241 testRuntimeOnly(libs.junit.platformLauncher)
43- testImplementation(origami.patchedPaperServer())
4442}
4543
4644// configure java sources location
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ dependencyResolutionManagement {
3434 versionCatalogs {
3535 create(" libs" )
3636 create(" origamiLibs" ) {
37- from(" xyz.xenondevs.origami:origami-catalog:0.2.1 " )
37+ from(" xyz.xenondevs.origami:origami-catalog:0.3.0 " )
3838 }
3939 }
4040}
You can’t perform that action at this time.
0 commit comments