mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-10 12:34:11 +01:00
1406d21d83
- Only publish api/lib and full jars for platforms - Do not eagerly create outgoing configurations for JarTaskSet - Add method to create outgoing configuration - Clean up JarTaskSet creation and move some string constants to statics - Set @CompileStatic - Remove ${name} classifier prefix from JarTaskSet jars - Put JarTaskSet jars into subdirectories in the output folders - Add configure and configureEach methods to JarTaskSet - Rename OutgoingConfigurationPlugin -> JarSetPlugin and move extension to root module so idea offers completions in gradle files - Standardize artifact naming flywheel-$platform(-api)?-$mcversion
36 lines
943 B
Groovy
36 lines
943 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 {
|
|
platformPlugin { PluginDeclaration plugin ->
|
|
plugin.id = 'flywheel.platform'
|
|
plugin.implementationClass = 'com.jozufozu.gradle.PlatformPlugin'
|
|
}
|
|
jarSetPlugin { PluginDeclaration plugin ->
|
|
plugin.id = 'flywheel.jar-sets'
|
|
plugin.implementationClass = 'com.jozufozu.gradle.JarSetPlugin'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'dev.architectury.loom:dev.architectury.loom.gradle.plugin:1.6-SNAPSHOT'
|
|
}
|