mirror of
https://github.com/Suiranoil/SkinRestorer.git
synced 2026-01-16 04:42:12 +00:00
replace single quotes with double quotes in groovy
This commit is contained in:
24
build.gradle
24
build.gradle
@@ -1,7 +1,7 @@
|
||||
plugins {
|
||||
id 'dev.architectury.loom' version '1.6-SNAPSHOT' apply false
|
||||
id 'architectury-plugin' version '3.4-SNAPSHOT'
|
||||
id 'com.github.johnrengelman.shadow' version '8.1.1' apply false
|
||||
id "dev.architectury.loom" version "1.6-SNAPSHOT" apply false
|
||||
id "architectury-plugin" version "3.4-SNAPSHOT"
|
||||
id "com.github.johnrengelman.shadow" version "8.1.1" apply false
|
||||
id "io.github.pacifistmc.forgix" version "1.2.9"
|
||||
id "me.shedaniel.unified-publishing" version "0.1.+"
|
||||
}
|
||||
@@ -30,8 +30,8 @@ allprojects {
|
||||
}
|
||||
|
||||
subprojects {
|
||||
apply plugin: 'dev.architectury.loom'
|
||||
apply plugin: 'architectury-plugin'
|
||||
apply plugin: "dev.architectury.loom"
|
||||
apply plugin: "architectury-plugin"
|
||||
|
||||
loom {
|
||||
silentMojangMappingsLicense()
|
||||
@@ -46,8 +46,8 @@ subprojects {
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
name = 'ParchmentMC'
|
||||
url = 'https://maven.parchmentmc.org'
|
||||
name = "ParchmentMC"
|
||||
url = "https://maven.parchmentmc.org"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -78,7 +78,7 @@ subprojects {
|
||||
}
|
||||
|
||||
// Adapted from https://raw.githubusercontent.com/TerraformersMC/GradleScripts/2.7/ferry.gradle
|
||||
tasks.register('generateChangelog') {
|
||||
tasks.register("generateChangelog") {
|
||||
ext.changelog = ""
|
||||
|
||||
def lastTag = previousTag
|
||||
@@ -111,13 +111,13 @@ tasks.register('generateChangelog') {
|
||||
}
|
||||
}
|
||||
|
||||
tasks.register('assertNewVersion') {
|
||||
tasks.register("assertNewVersion") {
|
||||
if (headTag == previousTag) {
|
||||
throw new GradleException("Current version $headTag is the same as previous. Please create a new version tag if you want to proceed.")
|
||||
}
|
||||
}
|
||||
|
||||
tasks.publishUnified.dependsOn('assertNewVersion', 'build')
|
||||
tasks.publishUnified.dependsOn("assertNewVersion", "build")
|
||||
|
||||
unifiedPublishing {
|
||||
project {
|
||||
@@ -125,8 +125,8 @@ unifiedPublishing {
|
||||
version = project.version
|
||||
changelog = generateChangelog.changelog
|
||||
releaseType = "release"
|
||||
gameVersions = List.of(project.game_versions.split(','))
|
||||
gameLoaders = List.of(project.mod_loaders.split(','))
|
||||
gameVersions = List.of(project.game_versions.split(","))
|
||||
gameLoaders = List.of(project.mod_loaders.split(","))
|
||||
|
||||
mainPublication.set(file("build/libs/merged/${project.archives_name}-${project.version}.jar"))
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
architectury {
|
||||
common rootProject.enabled_platforms.split(',')
|
||||
common rootProject.enabled_platforms.split(",")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
plugins {
|
||||
id 'com.github.johnrengelman.shadow'
|
||||
id "com.github.johnrengelman.shadow"
|
||||
}
|
||||
|
||||
architectury {
|
||||
@@ -17,7 +17,7 @@ configurations {
|
||||
developmentFabric.extendsFrom common
|
||||
|
||||
// Files in this configuration will be bundled into your mod using the Shadow plugin.
|
||||
// Don't use the `shadow` configuration from the plugin itself as it's meant for excluding files.
|
||||
// Don"t use the `shadow` configuration from the plugin itself as it"s meant for excluding files.
|
||||
shadowBundle {
|
||||
canBeResolved = true
|
||||
canBeConsumed = false
|
||||
@@ -27,21 +27,21 @@ configurations {
|
||||
dependencies {
|
||||
modImplementation "net.fabricmc:fabric-loader:$rootProject.fabric_loader_version"
|
||||
|
||||
common(project(path: ':common', configuration: 'namedElements')) { transitive false }
|
||||
shadowBundle project(path: ':common', configuration: 'transformProductionFabric')
|
||||
common(project(path: ":common", configuration: "namedElements")) { transitive false }
|
||||
shadowBundle project(path: ":common", configuration: "transformProductionFabric")
|
||||
}
|
||||
|
||||
processResources {
|
||||
inputs.property 'version', project.version
|
||||
inputs.property "version", project.version
|
||||
|
||||
filesMatching('fabric.mod.json') {
|
||||
filesMatching("fabric.mod.json") {
|
||||
expand version: project.version
|
||||
}
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
configurations = [project.configurations.shadowBundle]
|
||||
archiveClassifier = 'dev-shadow'
|
||||
archiveClassifier = "dev-shadow"
|
||||
}
|
||||
|
||||
remapJar {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
plugins {
|
||||
id 'com.github.johnrengelman.shadow'
|
||||
id "com.github.johnrengelman.shadow"
|
||||
}
|
||||
|
||||
architectury {
|
||||
@@ -17,7 +17,7 @@ configurations {
|
||||
developmentNeoForge.extendsFrom common
|
||||
|
||||
// Files in this configuration will be bundled into your mod using the Shadow plugin.
|
||||
// Don't use the `shadow` configuration from the plugin itself as it's meant for excluding files.
|
||||
// Don"t use the `shadow` configuration from the plugin itself as it"s meant for excluding files.
|
||||
shadowBundle {
|
||||
canBeResolved = true
|
||||
canBeConsumed = false
|
||||
@@ -26,29 +26,29 @@ configurations {
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
name = 'NeoForged'
|
||||
url = 'https://maven.neoforged.net/releases'
|
||||
name = "NeoForged"
|
||||
url = "https://maven.neoforged.net/releases"
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
neoForge "net.neoforged:neoforge:$rootProject.neoforge_loader_version"
|
||||
|
||||
common(project(path: ':common', configuration: 'namedElements')) { transitive false }
|
||||
shadowBundle project(path: ':common', configuration: 'transformProductionNeoForge')
|
||||
common(project(path: ":common", configuration: "namedElements")) { transitive false }
|
||||
shadowBundle project(path: ":common", configuration: "transformProductionNeoForge")
|
||||
}
|
||||
|
||||
processResources {
|
||||
inputs.property 'version', project.version
|
||||
inputs.property "version", project.version
|
||||
|
||||
filesMatching('META-INF/neoforge.mods.toml') {
|
||||
filesMatching("META-INF/neoforge.mods.toml") {
|
||||
expand version: project.version
|
||||
}
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
configurations = [project.configurations.shadowBundle]
|
||||
archiveClassifier = 'dev-shadow'
|
||||
archiveClassifier = "dev-shadow"
|
||||
}
|
||||
|
||||
remapJar {
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
pluginManagement {
|
||||
repositories {
|
||||
maven {
|
||||
name = 'Architectury'
|
||||
url = 'https://maven.architectury.dev/'
|
||||
name = "Architectury"
|
||||
url = "https://maven.architectury.dev/"
|
||||
}
|
||||
maven {
|
||||
name = 'Fabric'
|
||||
url = 'https://maven.fabricmc.net/'
|
||||
name = "Fabric"
|
||||
url = "https://maven.fabricmc.net/"
|
||||
}
|
||||
maven {
|
||||
name = 'Forge'
|
||||
url = 'https://files.minecraftforge.net/maven/'
|
||||
name = "Forge"
|
||||
url = "https://files.minecraftforge.net/maven/"
|
||||
}
|
||||
mavenCentral()
|
||||
gradlePluginPortal()
|
||||
@@ -19,6 +19,6 @@ pluginManagement {
|
||||
|
||||
rootProject.name = "skin-restorer"
|
||||
|
||||
include 'common'
|
||||
include 'fabric'
|
||||
include 'neoforge'
|
||||
include "common"
|
||||
include "fabric"
|
||||
include "neoforge"
|
||||
|
||||
Reference in New Issue
Block a user