repo for my hex addons :3
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

phlicon + publishing

+19 -4
+5 -1
build.gradle.kts
··· 64 64 println("configuring $modid ($project) v$version @ $group") 65 65 plugins.withId("java") { 66 66 base { 67 - archivesName.set(modid) 67 + archivesBaseName = modid 68 68 } 69 69 java { 70 70 toolchain.languageVersion = JavaLanguageVersion.of(17) 71 71 withSourcesJar() 72 72 } 73 + // be extra sure 74 + version = project.property("mod_version") as String 75 + if (!release) version = "${version}+${p.commit_id.take(7)}" 76 + group = rootProject.property("maven_group") as String 73 77 74 78 tasks.named<Jar>("jar").configure { 75 79 from("LICENSE") {
+12 -1
util/build.gradle.kts
··· 1 + import org.gradle.jvm.component.internal.DefaultJvmSoftwareComponent 2 + 1 3 plugins { 2 4 id("fabric-loom") 3 5 id("scala") ··· 36 38 name = "PoolHexLib" 37 39 description = "Internal library for my Hex Casting addons." 38 40 license = "LGPL-3.0" 39 - icon = "assets/phlib/icon.png" 41 + icon = "phlib.icon.png" 40 42 41 43 author("pool") { 42 44 put("discord", "https://discord.com/users/758407438251720795") ··· 51 53 } 52 54 } 53 55 } 56 + 57 + publishing { 58 + publications { 59 + create<MavenPublication>("mavenJava") { 60 + from(components["java"]) 61 + artifactId = "phlib" 62 + } 63 + } 64 + }
+2 -2
util/gradle.properties
··· 2 2 yarn_mappings=1.20.1+build.10 3 3 loader_version=0.16.14 4 4 scala_loader_version=0.3.1.11 5 - mod_version=0.2.0 5 + mod_version=0.1.0 6 6 maven_group=org.eu.net.pool 7 7 modid=phlib 8 8 archives_base_name=phlib 9 - fabric_version=0.92.6+1.20.1 9 + fabric_version=0.92.6+1.20.1
util/src/main/resources/phlib.icon.png

This is a binary file and will not be displayed.