Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
TexBlock committed Aug 18, 2024
1 parent 0073d2a commit 12f7285
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 313 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [ pull_request, push, workflow_dispatch ]

jobs:
Build:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 20
uses: actions/setup-java@v3
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'adopt'
java-version: 20
java-version: 21
- name: Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
.gradle
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', 'build.gradle') }}
- uses: gradle/wrapper-validation-action@v1
- uses: gradle/actions/wrapper-validation@v3
- run: |
chmod +x gradlew
./gradlew build publishMod --stacktrace -Porg.gradle.parallel.threads=4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
* limitations under the License.
*/

package ho.artisan.azusaconfig.api.config.v2;
package ho.artisan.azusaconfig.api;

import ho.artisan.azusaconfig.impl.config.AzusaConfigImpl;
import ho.artisan.azusaconfig.impl.AzusaConfigImpl;
import org.quiltmc.config.api.Config;
import org.quiltmc.config.api.ReflectiveConfig;
import org.quiltmc.config.impl.ConfigImpl;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* limitations under the License.
*/

package ho.artisan.azusaconfig.impl.config;
package ho.artisan.azusaconfig.impl;

import java.nio.file.Path;
import java.util.LinkedHashMap;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package ho.artisan.azusaconfig.fabric;

import ho.artisan.azusaconfig.impl.config.AzusaConfigImpl;
import ho.artisan.azusaconfig.impl.AzusaConfigImpl;
import net.fabricmc.api.ModInitializer;

public class AzusaConfigModFabric implements ModInitializer {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
package ho.artisan.azusaconfig.neoforge;

import ho.artisan.azusaconfig.AzusaConfigMod;
import ho.artisan.azusaconfig.impl.config.AzusaConfigImpl;
import net.neoforged.fml.IExtensionPoint;
import net.neoforged.fml.ModLoadingContext;
import ho.artisan.azusaconfig.impl.AzusaConfigImpl;
import net.neoforged.fml.common.Mod;

@Mod(AzusaConfigMod.MOD_ID)
public class AzusaConfigModNeoForge {

public AzusaConfigModNeoForge() {
ModLoadingContext.get().registerExtensionPoint(IExtensionPoint.DisplayTest.class, () -> new IExtensionPoint.DisplayTest(() -> IExtensionPoint.DisplayTest.IGNORESERVERONLY, (a, b) -> true));
AzusaConfigImpl.init();
}
}
4 changes: 2 additions & 2 deletions neoforge/src/main/resources/META-INF/neoforge.mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ logoFile = "icon.png"
[[dependencies.azusa_config]]
modId = "neoforge"
mandatory = true
versionRange = "[20,)"
versionRange = "[20.5,)"
ordering = "NONE"
side = "BOTH"

[[dependencies.azusa_config]]
modId = "minecraft"
mandatory = true
versionRange = "[1.20.2,)"
versionRange = "[1.20.5,)"
ordering = "NONE"
side = "BOTH"

0 comments on commit 12f7285

Please sign in to comment.