Gradle tweaks
This commit is contained in:
17
build.gradle
17
build.gradle
@@ -1,23 +1,10 @@
|
|||||||
buildscript {
|
|
||||||
repositories {
|
|
||||||
maven { url = 'https://maven.minecraftforge.net' }
|
|
||||||
mavenCentral()
|
|
||||||
maven { url = 'https://repo.spongepowered.org/repository/maven-public' }
|
|
||||||
maven { url = 'https://maven.parchmentmc.org' }
|
|
||||||
}
|
|
||||||
dependencies {
|
|
||||||
classpath "net.minecraftforge.gradle:ForgeGradle:${forgegradle_version}"
|
|
||||||
classpath "org.spongepowered:mixingradle:${mixingradle_version}"
|
|
||||||
classpath "org.parchmentmc:librarian:${librarian_version}"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id "idea"
|
id "idea"
|
||||||
id "eclipse"
|
id "eclipse"
|
||||||
id "maven-publish"
|
id "maven-publish"
|
||||||
id "net.neoforged.moddev.legacyforge" version "2.0.74"
|
id "net.neoforged.moddev.legacyforge" version "2.0.74"
|
||||||
id "org.jetbrains.gradle.plugin.idea-ext" version "1.1.8" // https://github.com/JetBrains/gradle-idea-ext-plugin
|
id "org.jetbrains.gradle.plugin.idea-ext" version "1.1.8" // https://github.com/JetBrains/gradle-idea-ext-plugin
|
||||||
|
id "net.darkhax.curseforgegradle" version "1.1.26"
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "./gradle/java.gradle"
|
apply from: "./gradle/java.gradle"
|
||||||
@@ -135,6 +122,8 @@ dependencies {
|
|||||||
if (!Boolean.getBoolean('idea.sync.active')) {
|
if (!Boolean.getBoolean('idea.sync.active')) {
|
||||||
annotationProcessor "org.spongepowered:mixin:${mixin_version}:processor"
|
annotationProcessor "org.spongepowered:mixin:${mixin_version}:processor"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
compileOnly('org.jetbrains:annotations:24.0.1')
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceSets.main.resources {
|
sourceSets.main.resources {
|
||||||
|
|||||||
@@ -1,10 +1,15 @@
|
|||||||
pluginManagement {
|
pluginManagement {
|
||||||
repositories {
|
repositories {
|
||||||
gradlePluginPortal()
|
gradlePluginPortal()
|
||||||
|
mavenCentral()
|
||||||
maven { url = 'https://maven.minecraftforge.net/' }
|
maven { url = 'https://maven.minecraftforge.net/' }
|
||||||
|
maven { url = 'https://repo.spongepowered.org/repository/maven-public' }
|
||||||
|
maven { url = 'https://maven.parchmentmc.org' }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.5.0'
|
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.8.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rootProject.name = 'Effortless Building'
|
||||||
Reference in New Issue
Block a user