diff options
Diffstat (limited to 'default-plugin')
| -rw-r--r-- | default-plugin/build.gradle | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/default-plugin/build.gradle b/default-plugin/build.gradle deleted file mode 100644 index 52b92ba90..000000000 --- a/default-plugin/build.gradle +++ /dev/null @@ -1,55 +0,0 @@ -archivesBaseName = rootProject.name + "-" + project.name - -loom { - accessWidenerPath = gradle.rootProject.project("fabric").file("src/main/resources/roughlyenoughitems.accessWidener") -} - -dependencies { - modCompileOnly("net.fabricmc:fabric-loader:${project.fabricloader_version}") - modApi("me.shedaniel.cloth:cloth-config:${cloth_config_version}") - modApi("dev.architectury:architectury:${architectury_version}") - compileClasspath(project(path: ":api", configuration: "namedElements")) -} - -architectury { - common(forgeEnabled.toBoolean()) -} - -remapJar { - classifier "raw" -} - -task fakeJar(type: Jar, dependsOn: remapJar) { - from remapJar.archiveFile.map { zipTree(it) } - from(rootProject.file("fake/fabric.mod.json")) { - into "" - } - classifier null -} - -task fakeForgeJar(type: Jar, dependsOn: remapJar) { - from remapJar.archiveFile.map { zipTree(it) } - from(rootProject.file("fake/fabric.mod.json")) { - into "" - } - classifier "fake-forge" -} - -artifacts { - apiElements(fakeJar) - runtimeElements(fakeJar) -} - -afterEvaluate { - configurations.apiElements.artifacts.removeIf { it.buildDependencies.getDependencies(null).contains(tasks.remapJar) } - configurations.runtimeElements.artifacts.removeIf { it.buildDependencies.getDependencies(null).contains(tasks.remapJar) } -} - -publishing { - publications { - mavenCommon(MavenPublication) { - artifactId = rootProject.name + "-" + project.name - from components.java - } - } -} |
