mirror of
https://github.com/LegacyModdingMC/UniMixins.git
synced 2026-11-27 23:45:58 +00:00
Add mixin -> common dependency
This commit is contained in:
1 parent
faff222565
commit
2cfb5ecebc
1 file changed
+9
-1
+9
-1
@@ -30,12 +30,20 @@ lateinit var moduleCommon: SourceSet
|
||||
lateinit var moduleMixin: SourceSet
|
||||
sourceSets {
|
||||
moduleCommon = create("module-common")
|
||||
moduleMixin = create("module-mixin")
|
||||
moduleMixin = create("module-mixin") {
|
||||
compileClasspath += moduleCommon.output
|
||||
runtimeClasspath += moduleCommon.output
|
||||
}
|
||||
}
|
||||
|
||||
configurations {
|
||||
this[moduleMixin.compileOnlyConfigurationName].extendsFrom(this[moduleCommon.compileOnlyConfigurationName])
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// TODO only include IFMLLoadingPlugin, Mod and ComparableVersion
|
||||
moduleCommon.compileOnlyConfigurationName("net.minecraftforge:forge:1.12.2-14.23.5.2860:universal")
|
||||
moduleMixin.implementationConfigurationName(moduleCommon.output)
|
||||
}
|
||||
|
||||
unimined.minecraft(moduleCommon, moduleMixin) {
|
||||
|
||||
Reference in new issue
Block a user