diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d4edbe5..c4598d8 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -31,7 +31,7 @@ jobs:
uses: gradle/gradle-build-action@v2
- name: Run build and tests with Gradle wrapper
- run: ./gradlew test build
+ run: ./gradlew test build PdockerTests
- name: Publish test report
uses: mikepenz/action-junit-report@v3
diff --git a/README.md b/README.md
index 13405fd..5771c19 100644
--- a/README.md
+++ b/README.md
@@ -11,15 +11,32 @@ Add a dependency to your Maven/Gradle buildscript:
e.g.
```groovy
-compileOnly 'net.luckperms:rest-api-client:0.1'
+repositories {
+ maven {
+ url 'https://oss.sonatype.org/content/repositories/snapshots'
+ }
+}
+
+dependencies {
+ implementation 'net.luckperms:rest-api-java-client:0.1-SNAPSHOT'
+}
```
```xml
-
- net.luckperms
- rest-api-client
- 0.1
-
+
+
+ sonatype-snapshots
+ https://oss.sonatype.org/content/repositories/snapshots
+
+
+
+
+
+ net.luckperms
+ rest-api-java-client
+ 0.1-SNAPSHOT
+
+
```
Then, create a new client and start making calls:
diff --git a/build.gradle b/build.gradle
index b609f2b..9943e7b 100644
--- a/build.gradle
+++ b/build.gradle
@@ -11,9 +11,9 @@ version = '0.1-SNAPSHOT'
java {
- toolchain {
- languageVersion = JavaLanguageVersion.of(11)
- }
+ //toolchain {
+ // languageVersion = JavaLanguageVersion.of(11)
+ //}
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
@@ -27,6 +27,7 @@ repositories {
}
test {
+ onlyIf { project.hasProperty('dockerTests') }
useJUnitPlatform()
testLogging {
events = [TestLogEvent.PASSED, TestLogEvent.FAILED, TestLogEvent.SKIPPED]
@@ -60,6 +61,15 @@ dependencies {
}
publishing {
+ //repositories {
+ // maven {
+ // url = 'https://oss.sonatype.org/content/repositories/snapshots'
+ // credentials {
+ // username = sonatypeUsername
+ // password = sonatypePassword
+ // }
+ // }
+ //}
publications {
mavenJava(MavenPublication) {
from components.java
diff --git a/settings.gradle b/settings.gradle
index 885cd8e..7f4041c 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -1 +1 @@
-rootProject.name = 'rest-api-client'
+rootProject.name = 'rest-api-java-client'