Search Gradle plugins

ca.stellardrift.opinionated.fabric

Owner: zml

Opinionated defaults for mods on the Fabric platform. Requires the https://maven.fabricmc.net plugin repository to be declared

https://github.com/zml2008/gradle-plugins

Sources: https://github.com/zml2008/gradle-plugins.git

Version 5.0.1 (latest)

Created 28 February 2022.

Opinionated defaults for mods on the Fabric platform. Requires the https://maven.fabricmc.net plugin repository to be declared

Add this plugin to your build using the plugins DSL:

plugins {
  id("ca.stellardrift.opinionated.fabric") version "5.0.1"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("ca.stellardrift.opinionated.fabric:ca.stellardrift.opinionated.fabric.gradle.plugin:5.0.1")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("ca.stellardrift.opinionated.fabric")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("ca.stellardrift.opinionated.fabric:ca.stellardrift.opinionated.fabric.gradle.plugin:5.0.1")
      }
    }
    
    apply(plugin = "ca.stellardrift.opinionated.fabric")
  • Applying plugins to all subprojects .