diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 0000000..9c837ba
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,11 @@
+# To get started with Dependabot version updates, you'll need to specify which
+# package ecosystems to update and where the package manifests are located.
+# Please see the documentation for all configuration options:
+# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
+
+version: 2
+updates:
+ - package-ecosystem: "maven"
+ directory: "/"
+ schedule:
+ interval: "weekly"
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 302e06c..f96b2f6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,8 +1,11 @@
# Changelog
* `0.10.2`:
+ - Improvements:
+ - Restored JDK 8 compatibility by using a multi-release JAR. The library now works on JDK 8+ while still providing JPMS module support for JDK 9+. This fixes #175. Thanks @LyingDoc !
- Bugfixes:
- - Fixed a `NullPointerException` (https://github.com/jline/jline3/issues/930) by updating a `jline` dependency. (PR #164). Thanks @koppor !
- * `0.10.1`:
+ - Fixed a `NullPointerException` (https://github.com/jline/jline3/issues/930) by updating a `jline` dependency (PR #164). Thanks @koppor !
+ - Fixed a problem with `jline` version mismatch (#169, PR #170). Thanks @hohwille @jan-vcapgemini !
+ * `0.10.1`:
- Improvements:
- Changed the JPMS module dependency `org.jline` to a more fine-grained module `org.jline.terminal` (#158, PR #159). Thanks @brett-smith !
- Added a new builder method `setRenderer` to allow custom renderers (#157). Thanks @drothmaler !
diff --git a/LICENSE b/LICENSE
index 4a58ef9..8a93c2e 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)
-Copyright (c) 2015--2024 Tongfei Chen and contributors
+Copyright (c) 2015--2026 Tongfei Chen and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/README.md b/README.md
index 2625482..94f07fc 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
# progressbar
-[](https://maven-badges.herokuapp.com/maven-central/me.tongfei/progressbar)
+[](https://central.sonatype.com/artifact/me.tongfei/progressbar)
A console progress bar for JVM with minimal runtime overhead.
@@ -29,7 +29,7 @@ Maven:
me.tongfei
progressbar
- 0.10.0
+ $VERSION
```
diff --git a/docs/index.md b/docs/index.md
index d96581d..1dc21f2 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -22,7 +22,7 @@ Depending on your build tool, add the following setting.
compile 'me.tongfei:progressbar:$VERSION'
```
-The newest `$VERSION` is [](https://maven-badges.herokuapp.com/maven-central/me.tongfei/progressbar).
+The newest `$VERSION` is [](https://central.sonatype.com/artifact/me.tongfei/progressbar).
#### Getting started
diff --git a/mkdocs.yml b/mkdocs.yml
index 26c4c2c..2eab5a6 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -1,7 +1,7 @@
site_name: 'Progressbar'
site_description: 'A terminal progress bar for Java/JVM'
site_author: 'Tongfei Chen'
-copyright: 'Copyright © 2015-2024 Tongfei Chen and contributors'
+copyright: 'Copyright © 2015--2026 Tongfei Chen and contributors'
theme:
name: 'material'
diff --git a/pom.xml b/pom.xml
index 554f371..9349199 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,10 +6,10 @@
me.tongfei
progressbar
- 0.10.1
+ 0.10.2
progressbar
A terminal-based progress bar for JVM
- http://github.com/ctongfei/progressbar
+ https://github.com/ctongfei/progressbar
UTF-8
@@ -20,7 +20,7 @@
MIT
- http://opensource.org/licenses/MIT
+ https://opensource.org/licenses/MIT
repo
@@ -137,13 +137,16 @@
koppor
Oliver Kopp
+
+ jan-vcapgemini
+
org.jline
jline-terminal
- 3.26.2
+ 3.29.0
@@ -177,13 +180,9 @@
- ossrh
- https://oss.sonatype.org/content/repositories/snapshots
+ central
+ https://central.sonatype.com/repository/maven-snapshots/
-
- ossrh
- https://oss.sonatype.org/service/local/staging/deploy/maven2/
-
@@ -191,61 +190,66 @@
org.apache.maven.plugins
maven-compiler-plugin
- 3.11.0
-
- 8
- 8
-
+ 3.13.0
+
default-compile
-
-
- module-info.java
-
+ 1.8
+ 1.8
-
-
-
- org.apache.maven.plugins
- maven-source-plugin
- 2.2.1
-
+
- attach-sources
+ compile-java9
+ compile
- jar-no-fork
+ compile
+
+ 9
+
+ ${project.basedir}/src/main/java9
+
+ true
+
+
+ 9
+ 9
+
+
+
+ org.apache.maven.plugins
+ maven-jar-plugin
+ 3.4.2
+
+
+
+ true
+
+
+
- org.moditect
- moditect-maven-plugin
- 1.2.2.Final
+ org.apache.maven.plugins
+ maven-source-plugin
+ 3.3.1
- add-module-info
- package
+ attach-sources
- add-module-info
+ jar-no-fork
-
- 9
-
- ${project.build.sourceDirectory}/module-info.java
-
- true
-
org.apache.maven.plugins
maven-javadoc-plugin
- 3.0.0
+ 3.10.1
all,-missing
false
@@ -262,7 +266,7 @@
org.apache.maven.plugins
maven-gpg-plugin
- 1.5
+ 3.2.7
sign-artifacts
@@ -274,20 +278,19 @@
- org.sonatype.plugins
- nexus-staging-maven-plugin
- 1.6.3
+ org.sonatype.central
+ central-publishing-maven-plugin
+ 0.6.0
true
- ossrh
- https://oss.sonatype.org/
- true
+ central
+ true
org.apache.maven.plugins
maven-assembly-plugin
- 3.2.0
+ 3.7.1
jar-with-dependencies
@@ -297,7 +300,7 @@
org.apache.maven.plugins
maven-surefire-plugin
- 3.0.0
+ 3.5.2
false
diff --git a/src/main/java/module-info.java b/src/main/java9/module-info.java
similarity index 100%
rename from src/main/java/module-info.java
rename to src/main/java9/module-info.java