mirror of
https://github.com/architectury/architectury-plugin.git
synced 2026-03-28 04:07:01 -05:00
Update loom + fix jetbrains annotations remap src
This commit is contained in:
@@ -26,8 +26,8 @@ dependencies {
|
||||
implementation gradleApi()
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.72"
|
||||
implementation "org.jetbrains.kotlin:kotlin-reflect:1.3.72"
|
||||
implementation "net.fabricmc:fabric-loom:0.5.29"
|
||||
runtime "net.fabricmc:fabric-loom:0.5.29"
|
||||
implementation "net.fabricmc:fabric-loom:0.5.42"
|
||||
runtime "net.fabricmc:fabric-loom:0.5.42"
|
||||
implementation "net.fabricmc:tiny-remapper:0.3.0.70"
|
||||
implementation "net.fabricmc:tiny-mappings-parser:0.2.2.14"
|
||||
implementation "org.ow2.asm:asm:8.0"
|
||||
|
||||
@@ -4,6 +4,7 @@ import org.gradle.api.JavaVersion
|
||||
import org.gradle.api.Plugin
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.plugins.JavaPluginExtension
|
||||
import java.net.URI
|
||||
|
||||
class ArchitectPlugin : Plugin<Project> {
|
||||
override fun apply(project: Project) {
|
||||
@@ -21,12 +22,14 @@ class ArchitectPlugin : Plugin<Project> {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
project.dependencies.add("compileOnly", "org.jetbrains:annotations:19.0.0")
|
||||
}
|
||||
|
||||
project.tasks.register("remapMcp", RemapMCPTask::class.java) {
|
||||
it.group = "Architect"
|
||||
}
|
||||
|
||||
|
||||
project.tasks.register("remapMcpFakeMod", RemapMCPTask::class.java) {
|
||||
it.fakeMod = true
|
||||
it.group = "Architect"
|
||||
@@ -35,5 +38,11 @@ class ArchitectPlugin : Plugin<Project> {
|
||||
project.tasks.register("transformArchitectJar", TransformTask::class.java) {
|
||||
it.group = "Architect"
|
||||
}
|
||||
|
||||
project.repositories.apply {
|
||||
mavenCentral()
|
||||
jcenter()
|
||||
maven { it.url = URI("https://dl.bintray.com/shedaniel/cloth") }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user