File tree Expand file tree Collapse file tree 13 files changed +26
-26
lines changed
src/main/java/dev/faststats Expand file tree Collapse file tree 13 files changed +26
-26
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ plugins {
44 id(" maven-publish" )
55}
66
7- group = " org .faststats.metrics"
7+ group = " dev .faststats.metrics"
88version = " 0.1.0"
99
1010java {
@@ -39,10 +39,10 @@ dependencies {
3939publishing {
4040 publications.create<MavenPublication >(" maven" ) {
4141 artifactId = " bukkit"
42- groupId = " org .faststats.metrics"
43- pom.url.set(" https://faststats.org /docs" )
42+ groupId = " dev .faststats.metrics"
43+ pom.url.set(" https://faststats.dev /docs" )
4444 pom.scm {
45- val repository = " fastStats-org /dev-kits"
45+ val repository = " faststats-dev /dev-kits"
4646 url.set(" https://github.com/$repository " )
4747 connection.set(" scm:git:git://github.com/$repository .git" )
4848 developerConnection.set(" scm:git:ssh://github.com/$repository .git" )
Original file line number Diff line number Diff line change 1- package org .faststats ;
1+ package dev .faststats ;
22
33import com .google .gson .FormattingStyle ;
44import com .google .gson .JsonObject ;
55import com .google .gson .JsonParser ;
66import com .google .gson .stream .JsonReader ;
77import com .google .gson .stream .JsonWriter ;
8+ import dev .faststats .chart .Chart ;
89import org .bukkit .plugin .Plugin ;
9- import org .faststats .chart .Chart ;
1010import org .jetbrains .annotations .TestOnly ;
1111import org .jspecify .annotations .NullMarked ;
1212import org .jspecify .annotations .Nullable ;
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ plugins {
44 id(" maven-publish" )
55}
66
7- group = " org .faststats.metrics"
7+ group = " dev .faststats.metrics"
88version = " 0.1.0"
99
1010java {
@@ -56,10 +56,10 @@ tasks.test {
5656publishing {
5757 publications.create<MavenPublication >(" maven" ) {
5858 artifactId = " core"
59- groupId = " org .faststats.metrics"
60- pom.url.set(" https://faststats.org /docs" )
59+ groupId = " dev .faststats.metrics"
60+ pom.url.set(" https://faststats.dev /docs" )
6161 pom.scm {
62- val repository = " fastStats-org /dev-kits"
62+ val repository = " faststats-dev /dev-kits"
6363 url.set(" https://github.com/$repository " )
6464 connection.set(" scm:git:git://github.com/$repository .git" )
6565 developerConnection.set(" scm:git:ssh://github.com/$repository .git" )
Original file line number Diff line number Diff line change 1- package org .faststats ;
1+ package dev .faststats ;
22
3- import org .faststats .chart .Chart ;
3+ import dev .faststats .chart .Chart ;
44import org .jetbrains .annotations .Contract ;
55
66public interface Metrics {
Original file line number Diff line number Diff line change 1- package org .faststats ;
1+ package dev .faststats ;
22
33import com .github .luben .zstd .Zstd ;
44import com .google .gson .JsonObject ;
5- import org .faststats .chart .Chart ;
5+ import dev .faststats .chart .Chart ;
66import org .jspecify .annotations .Nullable ;
77
88import java .net .ConnectException ;
@@ -64,7 +64,7 @@ protected void submitData() {
6464 .header ("Content-Encoding" , "zstd" )
6565 .header ("Content-Type" , "application/octet-stream" )
6666 .header ("Authorization" , "Bearer " + getToken ())
67- .header ("User-Agent" , "fastStats Metrics" )
67+ .header ("User-Agent" , "FastStats Metrics" )
6868 .timeout (Duration .ofSeconds (3 ))
6969 .uri (URI .create (getURL ()))
7070 .build ();
@@ -123,7 +123,7 @@ protected JsonObject createData() {
123123 }
124124
125125 protected String getURL () {
126- return "https://api.faststats.org /v1/metrics" ;
126+ return "https://api.faststats.dev /v1/metrics" ;
127127 }
128128
129129 protected abstract UUID getServerId ();
Original file line number Diff line number Diff line change 1- package org .faststats .chart ;
1+ package dev .faststats .chart ;
22
33import com .google .gson .JsonElement ;
44import org .jetbrains .annotations .Contract ;
Original file line number Diff line number Diff line change 1- package org .faststats .chart ;
1+ package dev .faststats .chart ;
22
33import org .intellij .lang .annotations .Pattern ;
44
Original file line number Diff line number Diff line change 1- package org .faststats .chart ;
1+ package dev .faststats .chart ;
22
33import com .google .gson .JsonElement ;
44import com .google .gson .JsonObject ;
Original file line number Diff line number Diff line change 1- package org .faststats .chart ;
1+ package dev .faststats .chart ;
22
33import org .jspecify .annotations .Nullable ;
44
Original file line number Diff line number Diff line change 1- package org .faststats .chart ;
1+ package dev .faststats .chart ;
22
33import com .google .gson .JsonElement ;
44import com .google .gson .JsonPrimitive ;
You can’t perform that action at this time.
0 commit comments