add runeshare (#7156)

* Add RuneShare plugin

* Try to address Gson issue in build

```
Do not create fresh Gson instances, always @Inject the client's Gson.
You can customize it by calling .newBuilder() on it
```

* Inject Gson instead of initializing it

Trying to address this build error
```
Do not create fresh Gson instances, always @Inject the client's Gson.
You can customize it by calling .newBuilder() on it
```

* Update commit to address PR feedback

* Add defaults for configs
* Use `okHttpClient` and `enqueue` the request so it doesn't block the client thread and swing thread

* Update commit to "Default auto sync to false (i.e. manual sync)"

* Use Swing thread instead of Client thread

See https://github.com/runelite/plugin-hub/pull/7156#issuecomment-2560787846
This commit is contained in:
Mike Dalton
2024-12-28 02:45:30 -05:00
committed by GitHub
parent c00d6baff0
commit 9967e2aee1

3
plugins/runeshare Normal file
View File

@@ -0,0 +1,3 @@
repository=https://github.com/kcdragon/runeshare-plugin.git
commit=94bc765e077b786f18730624727908819258f39e
warning=This plugin submits your bank tag tab data and IP address to a server not controlled or verified by the RuneLite developers.