diff --git a/README.md b/README.md index 0081848..8ef17c5 100644 --- a/README.md +++ b/README.md @@ -99,12 +99,18 @@ hyperbuild is available via [JNI](https://github.com/jni-rs/jni-rs), and support ##### Get -Download the [JAR](https://wilsonl.in/hyperbuild/bin/0.0.28.jar) file. +Add as a Maven dependency: + +```xml + + in.wilsonl.hyperbuild + hyperbuild + 0.0.28 + +``` ##### Use -Make sure to add the JAR file to the class path. - ```java import in.wilsonl.hyperbuild.Hyperbuild; @@ -143,11 +149,11 @@ minified = hyperbuild.minify("

Hello, world!

")
Ruby -hyperbuild is available as a [native module](https://github.com/danielpclark/rutie) for macOS and Linux, and supports Ruby versions 2.5 and higher. +hyperbuild is published on RubyGems, available as a [native module](https://github.com/danielpclark/rutie) for macOS and Linux, and supports Ruby versions 2.5 and higher. ##### Get -Download and install the [gem](https://wilsonl.in/hyperbuild/bin/0.0.28.gem). +Add the library as a dependency to `Gemfile` or `*.gemspec`. ##### Use diff --git a/version b/version index 42cf02c..035bb5b 100755 --- a/version +++ b/version @@ -64,7 +64,7 @@ for (const f of ["ruby/hyperbuild.gemspec"]) { replaceInFile(f, /^(\s*spec\.version\s*=\s*)"\d+\.\d+\.\d+"\s*$/m, `$1"${NEW_VERSION}"`); } -for (const f of ["java/pom.xml"]) { +for (const f of ["java/pom.xml", "README.md"]) { replaceInFile(f, /(hyperbuild<\/artifactId>\s*)\d+\.\d+\.\d+(<\/version>)/, `$1${NEW_VERSION}$2`); }