LabyMod / addon-template

The official addon template for LabyMod 4
33 stars 11 forks source link

[WIP] Use .env for bearerToken in build.gradle.kts #2

Closed HerXayah closed 1 year ago

HerXayah commented 1 year ago

As above, this is WIP. The in its state it will and does work, the problem however is, that Loading Script Configurations or Gradle Changes will fail due to the env beeing Unresolved. If its possible to skip it, implement it, ive been trying for 2 hours now.

l3nnartt commented 1 year ago

I dont get the point of this? What speaks against the use of gradle.properties?

jumpingpxl commented 1 year ago

Hey, I will close this pull request for two reasons:

  1. This is the addon template for LabyMod 4. Due to LabyMod 4 being in closed beta, access to the addon API is restricted to beta testers.
  2. The way to go would be to declare the authentication in the global gradle.properties file. We don't recommend using any other file, especially not if an extra plugin is needed.

If you do already have beta access, send me a dm on Discord (JumpingPxl#2395).

HerXayah commented 1 year ago

I dont get the point of this? What speaks against the use of gradle.properties?

0 documentation. How am i supposed to know any of this when its written nowhere.

l3nnartt commented 1 year ago

This is not true, on the labymod discord it says "Anyone interested in creating addons for LabyMod 4 can send me dm" I saw that you are also on the dev discord too, there it is also explicitly mentioned multiple times.

If you then have beta access, you get access to a beta category (wiki channel and channel where you can ask for help) where it is explained in detail how to develop an addon during the beta phase & how to use the token.

HerXayah commented 1 year ago

This is not true, on the labymod discord it says "Anyone interested in creating addons for LabyMod 4 can send me dm" I saw that you are also on the dev discord too, there it is also explicitly mentioned multiple times.

If you then have beta access, you get access to a beta category (wiki channel and channel where you can ask for help) where it is explained in detail how to develop an addon during the beta phase & how to use the token.

i do have beta access. wasnt my point. its hard for ppl not on there to get started because they first need to join somewhere etc etc. if the wiki just mentioned if you have token to put it into the global file im okay. that is my point.