From 2d931102c62cfb3e862cbb3b7a599a28b8cd2a2e Mon Sep 17 00:00:00 2001 From: Lossy Date: Thu, 23 Dec 2021 08:59:43 -0600 Subject: [PATCH 1/2] Update README.md Update to reflect Maven repo, v1.0.0, and note to build locally. --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 31008b41..4c6546f4 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Work-in-progress Java port of [SteamKit2](https://github.com/SteamRE/SteamKit). ## Download -Currently only [snapshot builds](https://oss.sonatype.org/content/repositories/snapshots/in/dragonbra/javasteam/1.0.0-SNAPSHOT/) are available on Sonatype's snapshot repository. +Version 1.0.0 is available through [Maven](https://mvnrepository.com/artifact/in.dragonbra/javasteam) If you get a `java.security.InvalidKeyException: Illegal key size or default parameters` exception when trying to encrypt a message you need to download the [Unlimited Strength Jurisdiction Policy Files](http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html) and place them under `${java.home}/jre/lib/security/`. See [this stackoverflow question](https://stackoverflow.com/questions/6481627/java-security-illegal-key-size-or-default-parameters). @@ -15,17 +15,15 @@ If you get a `java.security.InvalidKeyException: Illegal key size or default par Gradle ```groovy repositories { - maven { - url 'https://oss.sonatype.org/content/repositories/snapshots/' - } + mavenCentral() } ``` Maven ```xml - snapshots-repo - https://oss.sonatype.org/content/repositories/snapshots/ + central + https://repo.maven.apache.org/maven2 ``` @@ -33,15 +31,15 @@ Maven Gradle ```groovy -implementation 'in.dragonbra:javasteam:1.0.0-SNAPSHOT' +implementation 'in.dragonbra:javasteam:1.0.0' ``` Maven ```xml - in.dragonbra - javasteam - 1.0.0-SNAPSHOT + in.dragonbra + javasteam + 1.0.0 ``` @@ -75,6 +73,8 @@ You can head to the very short [Getting Started](https://github.com/Longi94/Java ```./gradlew build``` +Note: If you are building locally for testing purposes, comment out `signing` and `uploadArchives` in the build.gradle files in order to build successfully. + ## Contributing Contributions to the repository are always welcome! Checkout the [contribution guidelines](CONTRIBUTING.md) to get started. From aa99deca50334aa85403e7ff4d19b02b183cf2e0 Mon Sep 17 00:00:00 2001 From: Lossy Date: Wed, 29 Dec 2021 08:57:47 -0600 Subject: [PATCH 2/2] Update README.md Fix step one. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4c6546f4..30abd833 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Version 1.0.0 is available through [Maven](https://mvnrepository.com/artifact/in If you get a `java.security.InvalidKeyException: Illegal key size or default parameters` exception when trying to encrypt a message you need to download the [Unlimited Strength Jurisdiction Policy Files](http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html) and place them under `${java.home}/jre/lib/security/`. See [this stackoverflow question](https://stackoverflow.com/questions/6481627/java-security-illegal-key-size-or-default-parameters). -**1. Add the snapshot repository to your build.** +**1. Add the repository to your build.** Gradle ```groovy