Skip to content

Commit ac12be7

Browse files
committed
Gradle: Unify group and version in gradle.properties
1 parent 7bc5f34 commit ac12be7

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

gradle.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled
1212
org.jetbrains.dokka.experimental.gradle.pluginMode.noWarn=true
1313
# Android
1414
android.useAndroidX=true
15+
# App
16+
version=1.4.1

log4k-slf4j/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ android {
4343
publishing {
4444
publications.withType<MavenPublication> {
4545
groupId = "de.peilicke.sascha"
46-
version = "1.4.1"
4746

4847
artifact(project.tasks.register("${name}DokkaJar", Jar::class) {
4948
group = JavaBasePlugin.DOCUMENTATION_GROUP

log4k/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ android {
5858
publishing {
5959
publications.withType<MavenPublication> {
6060
groupId = "de.peilicke.sascha"
61-
version = "1.4.1"
6261

6362
artifact(project.tasks.register("${name}DokkaJar", Jar::class) {
6463
group = JavaBasePlugin.DOCUMENTATION_GROUP

scripts/release

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
1212

1313
# Constants
1414
FILES=(
15-
log4k/build.gradle.kts
16-
log4k-slf4j/build.gradle.kts
15+
gradle.properties
1716
)
1817

1918
# Functions
@@ -27,7 +26,7 @@ function version_gt() {
2726
}
2827

2928
get_version_name() {
30-
grep "version = " "$1" | cut -d"=" -f2 | xargs
29+
grep "version=" "$1" | cut -d"=" -f2 | xargs
3130
}
3231

3332
# Checks

0 commit comments

Comments
 (0)