From 5d52ee4de3894345ebf2a7cdba37feb1af70eb0c Mon Sep 17 00:00:00 2001 From: Jack Boswell Date: Tue, 9 Jan 2024 23:06:24 +1300 Subject: [PATCH] Centralize versioning on Gradle properties (#41) * Centralize versioning on Gradle properties * Add more ignores --- .idea/.gitignore | 2 ++ core/build.gradle.kts | 5 +++-- gradle.properties | 4 ++++ material3/build.gradle.kts | 4 ++-- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/.idea/.gitignore b/.idea/.gitignore index 08af0ef..54328ee 100644 --- a/.idea/.gitignore +++ b/.idea/.gitignore @@ -9,6 +9,8 @@ /appInsightsSettings.xml /compiler.xml /dbnavigator.xml +/deploymentTargetSelector.xml +/discord.xml /gradle.xml /kotlinc.xml /migrations.xml diff --git a/core/build.gradle.kts b/core/build.gradle.kts index b9878ca..9a295de 100644 --- a/core/build.gradle.kts +++ b/core/build.gradle.kts @@ -13,8 +13,9 @@ plugins { id("maven-publish") id("signing") } -group = "io.github.boswelja.menuprovider" -version = "1.1.1" + +group = findProperty("group")!! +version = findProperty("version")!! android { namespace = "com.boswelja.menuprovider" diff --git a/gradle.properties b/gradle.properties index 3fbe951..1c29e4a 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,3 +5,7 @@ org.gradle.caching=true android.useAndroidX=true kotlin.code.style=official + +# Below here is all packaging details, not build configuration. +version=1.2.0 +group=io.github.boswelja.menuprovider diff --git a/material3/build.gradle.kts b/material3/build.gradle.kts index e44833f..804ee28 100644 --- a/material3/build.gradle.kts +++ b/material3/build.gradle.kts @@ -14,8 +14,8 @@ plugins { id("signing") } -group = "io.github.boswelja.menuprovider" -version = "1.1.1" +group = findProperty("group")!! +version = findProperty("version")!! android { namespace = "com.boswelja.menuprovider.material3"