Skip to content

Commit

Permalink
Changed maven address.
Browse files Browse the repository at this point in the history
  • Loading branch information
wyvx committed Jul 8, 2024
1 parent bf32c59 commit ddd7806
Show file tree
Hide file tree
Showing 97 changed files with 18 additions and 21 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env:
# GRADLE_JAVA_VERSION: 17
JAVA_VERSION: 21
GRADLE_VERSION: 8.8
PROJECT_NAME: glib
PROJECT_NAME: lib
VERSION_FILE_PATH: ${{ github.workspace }}/version
jobs:
sanity_check:
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
- name: Clean up old snapshots
uses: actions/delete-package-versions@v5
with:
package-name: com.glitchybyte.glib.glib
package-name: com.glitchybyte.glib
package-type: maven
min-versions-to-keep: 1
delete-only-pre-release-versions: "true"
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env:
# GRADLE_JAVA_VERSION: 17
JAVA_VERSION: 21
GRADLE_VERSION: 8.8
PROJECT_NAME: glib
PROJECT_NAME: lib
VERSION_FILE_PATH: ${{ github.workspace }}/version
jobs:
sanity_check:
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
- name: Clean up old packages
uses: actions/delete-package-versions@v5
with:
package-name: com.glitchybyte.glib.glib
package-name: com.glitchybyte.glib
package-type: maven
min-versions-to-keep: 10

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Glitchy-Lib Java library

![Version](https://img.shields.io/badge/Version-1.10.0-blue)
![Version](https://img.shields.io/badge/Version-1.10.1-blue)
![Java](https://img.shields.io/badge/Java-21-orange)

Classes and utilities for general development.
Expand All @@ -25,6 +25,6 @@ repositories {
}

dependencies {
implementation("com.glitchybyte.glib:glib:1.10.0")
implementation("com.glitchybyte:glib:1.10.1")
}
```
4 changes: 2 additions & 2 deletions build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Copyright 2021-2023 GlitchyByte
# Copyright 2021-2024 GlitchyByte
# SPDX-License-Identifier: MIT-0

# Builds glib.
Expand All @@ -14,7 +14,7 @@ cd "${script_dir}"
. ./_gcolors

# [Main]
readonly project="glib"
readonly project="lib"

# Clean, build, and run tests.
cd "${script_dir}/code"
Expand Down
1 change: 0 additions & 1 deletion code/glib/src/main/resources/version

This file was deleted.

5 changes: 3 additions & 2 deletions code/glib/build.gradle.kts → code/lib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ publishing {
publications {
create<MavenPublication>("GLib") {
from(components["java"])
artifactId = "glib"
pom {
name = "GLib"
description = "Classes and utilities for general development."
url = "https://github.com/glitchybyte/glitchy-kit"
url = "https://github.com/glitchybyte/glitchy-lib"
licenses {
license {
name = "Apache License, Version 2.0"
Expand All @@ -47,5 +48,5 @@ dependencies {
}

// Setup build info.
group = "com.glitchybyte.glib"
group = "com.glitchybyte"
version = File("../version").readLines().first().trim()
1 change: 1 addition & 0 deletions code/lib/src/main/resources/version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.10.1-SNAPSHOT
File renamed without changes.
6 changes: 3 additions & 3 deletions code/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2020-2023 GlitchyByte
// Copyright 2020-2024 GlitchyByte
// SPDX-License-Identifier: MIT-0

rootProject.name = "glitchy-kit"
include("glib")
rootProject.name = "glitchy-lib"
include("lib")
8 changes: 2 additions & 6 deletions release.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,10 @@ repositories {
}

dependencies {
implementation("com.glitchybyte.glib:glib:1.9.0")
implementation("com.glitchybyte:glib:1.10.1")
}
```

Notable changes:

* Renamed `GConsole` to `GTerminal`, and disabled colors when there is no terminal attached.
* Added `GPaths` for path related utilities.
* Added `indexOfAny` to `GStrings`.
* Added `GProcessResult` to `GOSInterface`.
* Changed `GJson` to be able to be instanced, while still providing default singletons for basic and pretty versions.
* Changed (shortened) maven address.
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.10.0
1.10.1-SNAPSHOT

0 comments on commit ddd7806

Please sign in to comment.