mirror of
https://github.com/ViaVersion/ViaFabric.git
synced 2025-02-12 00:41:20 +01:00
revert cursegradle
This commit is contained in:
parent
f8547729d3
commit
bd2a7ea9db
12
build.gradle
12
build.gradle
@ -5,23 +5,16 @@ import java.nio.file.Files
|
|||||||
import java.util.stream.Collectors
|
import java.util.stream.Collectors
|
||||||
import java.util.stream.IntStream
|
import java.util.stream.IntStream
|
||||||
|
|
||||||
buildscript {
|
|
||||||
dependencies {
|
|
||||||
classpath("com.github.TinfoilMC:CurseGradle:6e2f47d")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Stolen https://github.com/FabricMC/fabric/blob/1.17/build.gradle
|
// Stolen https://github.com/FabricMC/fabric/blob/1.17/build.gradle
|
||||||
plugins {
|
plugins {
|
||||||
id "java"
|
id "java"
|
||||||
id "maven-publish"
|
id "maven-publish"
|
||||||
id "org.ajoberstar.grgit" version "3.1.1"
|
id "org.ajoberstar.grgit" version "3.1.1"
|
||||||
|
id "com.matthewprenger.cursegradle" version "1.4.0"
|
||||||
id "fabric-loom" version "0.11-SNAPSHOT" apply false
|
id "fabric-loom" version "0.11-SNAPSHOT" apply false
|
||||||
id "com.github.ben-manes.versions" version "0.41.0"
|
id "com.github.ben-manes.versions" version "0.41.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: "me.hypherionmc.cursegradle"
|
|
||||||
|
|
||||||
def ENV = System.getenv()
|
def ENV = System.getenv()
|
||||||
|
|
||||||
group = "com.viaversion.fabric"
|
group = "com.viaversion.fabric"
|
||||||
@ -191,7 +184,6 @@ curseforge {
|
|||||||
|
|
||||||
options {
|
options {
|
||||||
forgeGradleIntegration = false
|
forgeGradleIntegration = false
|
||||||
detectFabricApi = false
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -199,4 +191,4 @@ if (getBranch() == "main" && ENV.CURSEFORGE_API_KEY && !ENV.CURSEFORGE_API_KEY.i
|
|||||||
defaultTasks("clean", "build", "curseforge")
|
defaultTasks("clean", "build", "curseforge")
|
||||||
} else {
|
} else {
|
||||||
defaultTasks("clean", "build")
|
defaultTasks("clean", "build")
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,6 @@ pluginManagement {
|
|||||||
repositories {
|
repositories {
|
||||||
gradlePluginPortal()
|
gradlePluginPortal()
|
||||||
maven { url = 'https://maven.fabricmc.net/' }
|
maven { url = 'https://maven.fabricmc.net/' }
|
||||||
maven { url = "https://jitpack.io" }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user