[go: nahoru, domu]

Search Gradle plugins

net.neoforged.moddev.repositories

This plugin adds the repositories needed for developing Minecraft mods. It is applied automatically by the moddev plugin, but can be applied manually in settings.gradle to make use of Gradle dependency management.

https://github.com/neoforged/ModDevGradle

Sources: https://github.com/neoforged/ModDevGradle.git

Version 0.1.117 (latest)

0.1.117

Created 28 June 2024.

This plugin adds the repositories needed for developing Minecraft mods. It is applied automatically by the moddev plugin, but can be applied manually in settings.gradle to make use of Gradle dependency management.

Using the plugins DSL:

plugins {
  id("net.neoforged.moddev.repositories") version "0.1.117"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("net.neoforged:moddev-gradle:0.1.117")
  }
}

apply(plugin = "net.neoforged.moddev.repositories")

Using the plugins DSL:

plugins {
  id "net.neoforged.moddev.repositories" version "0.1.117"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "net.neoforged:moddev-gradle:0.1.117"
  }
}

apply plugin: "net.neoforged.moddev.repositories"

Learn how to apply plugins to subprojects