|  | 
| 1 | 1 | plugins { | 
| 2 |  | -    id("com.gradle.plugin-publish") version "1.2.1" | 
|  | 2 | +    id("java-gradle-plugin") | 
|  | 3 | +    id("maven-publish") | 
| 3 | 4 |     id("com.gradleup.shadow") version "8.3.0" | 
| 4 | 5 |     id("com.github.johnrengelman.shadow") version "dummy" | 
| 5 | 6 | } | 
| 6 | 7 | 
 | 
| 7 |  | -base.archivesName = "CichlidGradle" | 
| 8 |  | -group = "io.github.cichlidmc" | 
|  | 8 | +group = "fish.cichlidmc" | 
| 9 | 9 | version = "1.0-SNAPSHOT" | 
| 10 | 10 | 
 | 
| 11 | 11 | repositories { | 
| 12 | 12 |     mavenCentral() | 
| 13 |  | -    maven("https://mvn.devos.one/snapshots") | 
|  | 13 | +    maven("https://mvn.devos.one/releases") | 
| 14 | 14 |     maven("https://maven.neoforged.net") | 
| 15 | 15 | } | 
| 16 | 16 | 
 | 
| 17 | 17 | dependencies { | 
| 18 |  | -    implementation("io.github.cichlidmc:DistributionMarker:1.0.1") | 
| 19 |  | -    implementation("io.github.cichlidmc:PistonMetaParser:2.0.2") | 
| 20 |  | -    implementation("io.github.cichlidmc:sushi:0.1.0") | 
|  | 18 | +    implementation("fish.cichlidmc:distribution-marker:1.0.1") | 
|  | 19 | +    implementation("fish.cichlidmc:piston-meta-parser:2.0.2") | 
|  | 20 | +    implementation("fish.cichlidmc:sushi:0.1.0") | 
| 21 | 21 |     implementation("net.neoforged:AutoRenamingTool:2.0.3") | 
| 22 | 22 |     implementation("org.ow2.asm:asm-tree:9.7") | 
| 23 | 23 |     implementation("org.vineflower:vineflower:1.11.1") | 
| 24 | 24 | } | 
| 25 | 25 | 
 | 
| 26 | 26 | tasks.named("shadowJar", com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar::class) { | 
| 27 | 27 |     archiveClassifier = "" | 
| 28 |  | -    relocate("net.neoforged", "io.github.cichlidmc.shadow.net.neoforged") | 
|  | 28 | +    relocate("net.neoforged", "fish.cichlidmc.shadow.net.neoforged") | 
| 29 | 29 | } | 
| 30 | 30 | 
 | 
| 31 | 31 | gradlePlugin { | 
| 32 |  | -    website = "https://cichlidmc.github.io/" | 
| 33 |  | -    vcsUrl = "https://github.com/CichlidMC/CichlidGradle" | 
|  | 32 | +    website = "https://cichlidmc.fish/" | 
|  | 33 | +    vcsUrl = "https://github.com/CichlidMC/cichlid-gradle" | 
| 34 | 34 | 
 | 
| 35 | 35 |     plugins { | 
| 36 | 36 |         create("cichlidGradle") { | 
| 37 |  | -            id = "$group.cichlid_gradle" | 
|  | 37 | +            id = "$group.cichlid-gradle" | 
| 38 | 38 |             displayName = "Cichlid Gradle" | 
| 39 | 39 |             description = "Gradle plugin for developing Minecraft mods with Cichlid" | 
| 40 | 40 |             tags = setOf("java", "minecraft", "mod", "modding", "cichlid", "cichlidmc", "mcdev", "minecraft-dev", "minecraft-modding") | 
| 41 |  | -            implementationClass = "io.github.cichlidmc.cichlid_gradle.CichlidGradlePlugin" | 
|  | 41 | +            implementationClass = "fish.cichlidmc.cichlid_gradle.CichlidGradlePlugin" | 
| 42 | 42 |         } | 
| 43 | 43 |     } | 
| 44 | 44 | } | 
| 45 | 45 | 
 | 
| 46 | 46 | publishing { | 
| 47 | 47 |     repositories { | 
| 48 |  | -        maven("https://mvn.devos.one/snapshots") { | 
| 49 |  | -            name = "devOS" | 
| 50 |  | -            credentials(PasswordCredentials::class) | 
|  | 48 | +        listOf("Releases", "Snapshots").forEach { | 
|  | 49 | +            maven("https://mvn.devos.one/${it.lowercase()}") { | 
|  | 50 | +                name = "devOs$it" | 
|  | 51 | +                credentials(PasswordCredentials::class) | 
|  | 52 | +            } | 
| 51 | 53 |         } | 
| 52 | 54 |     } | 
| 53 | 55 | } | 
0 commit comments