mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2025-02-04 17:24:59 +01:00
2e7c33b355
- Upgrade platform script plugin to pre-compiled groovy plugin - It was getting really difficult to manage all the logic/plugins/types from the basic script, and implementing a real plugin gives us much better type safety and IDE access to upstream plugins - Separate api/lib/backend/impl in platform projects - Add platform module output to main runtime classpath so the fabric loader recognizes our additional modules
31 lines
718 B
Groovy
31 lines
718 B
Groovy
plugins {
|
|
id 'groovy-gradle-plugin'
|
|
}
|
|
|
|
repositories {
|
|
gradlePluginPortal()
|
|
mavenCentral()
|
|
maven {
|
|
name = 'MinecraftForge'
|
|
url = 'https://maven.minecraftforge.net/'
|
|
}
|
|
maven {
|
|
name = 'Architectury'
|
|
url = 'https://maven.architectury.dev/'
|
|
}
|
|
maven { url = 'https://repo.spongepowered.org/repository/maven-public' }
|
|
maven { url = 'https://maven.parchmentmc.org' }
|
|
}
|
|
|
|
gradlePlugin {
|
|
plugins {
|
|
simplePlugin {
|
|
id = 'flywheel.platform'
|
|
implementationClass = 'com.jozufozu.gradle.PlatformPlugin'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'dev.architectury.loom:dev.architectury.loom.gradle.plugin:1.6-SNAPSHOT'
|
|
}
|