diff --git a/build.gradle.kts b/build.gradle.kts index 514d7ac..b4f66f9 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -19,6 +19,7 @@ dependencies { compileOnly("mezz.jei:jei-1.20.4-common-api:${project.properties["jei_version"]}") runtimeOnly("mezz.jei:jei-1.20.4-neoforge:${project.properties["jei_version"]}") implementation("org.jetbrains:annotations:23.0.0") + "testCompileOnly"("org.jetbrains:annotations:23.0.0") } helper.withTestSourceSet() @@ -27,11 +28,7 @@ helper.withGameTestRuns() helper.modproperties.put( "catalogueItemIcon", helper.projectId.map { "$it:potion_bundle{Potion:\"minecraft:water\"}" } ) -helper.dependency( - "jei", - project.properties["jei_version_range"] as String, - "optional" -) +helper.dependencies.jei() helper.publication.pom { organization { @@ -43,8 +40,9 @@ helper.publication.pom { id = "minecraftschurli" name = "Minecraftschurli" email = "minecraftschurli@gmail.com" + url = "https://github.com/Minecraftschurli" organization = "Minecraftschurli Mods" - organizationUrl = "https://github.com/Minecraftschurli" + organizationUrl = "https://github.com/MinecraftschurliMods" timezone = "Europe/Vienna" } developer { diff --git a/gradle.properties b/gradle.properties index a6381ac..e608eec 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,16 +2,16 @@ org.gradle.jvmargs=-Xmx4G org.gradle.daemon=false org.gradle.caching=true -mod_group=com.github.minecraftschurlimods -mod_id=potionbundles -mod_version=1.8 -mod_name=Potion Bundles -mod_authors=IchHabeHunger54, Minecraftschurli -mod_description=Potions can now be bound into bundles, to save inventory space. - -vendor=MinecraftschurliMods +mod.group=com.github.minecraftschurlimods +mod.id=potionbundles +mod.version=1.8 +mod.name=Potion Bundles +mod.vendor=MinecraftschurliMods +mod.authors=IchHabeHunger54, Minecraftschurli +mod.description=Potions can now be bound into bundles, to save inventory space. +mod.url=https://www.curseforge.com/minecraft/mc-mods/potion-bundles + java_version=17 -url=https://www.curseforge.com/minecraft/mc-mods/potion-bundles github.owner=MinecraftschurliMods github.repo=PotionBundles @@ -29,10 +29,10 @@ mc_version_range=[1.20.4,1.20.5) neo_version=20.4.80-beta neo_version_range=[20.4.80-beta,20.5) -mc-publish.curseforge=382836 -mc-publish.modrinth=ZZLWU8jS +dependency.jei.version=17.3.0.49 +dependency.jei.version.range=[17.3,18) loader.version=[1,) -jei_version=17.3.0.49 -jei_version_range=[17.3,18) +mc-publish.curseforge=382836 +mc-publish.modrinth=ZZLWU8jS diff --git a/settings.gradle.kts b/settings.gradle.kts index be69756..b39a821 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,7 +1,7 @@ pluginManagement { plugins { id("net.neoforged.gradle.userdev") version "7.0.80" - id("com.github.minecraftschurlimods.helperplugin") version "1.3" + id("com.github.minecraftschurlimods.helperplugin") version "1.4" } repositories { mavenLocal()