Skip to content

Commit

Permalink
Merge branch '0.2.0' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
wagyourtail committed Nov 22, 2022
2 parents 7114e0e + 4959ebd commit c1960b1
Show file tree
Hide file tree
Showing 69 changed files with 3,863 additions and 1,956 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build Release
on:
release:
types: [created]
types: [ created ]
jobs:
build:
runs-on: ubuntu-latest
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/build_snapshot.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: Build Snapshot
on:
push:
branches:
- main

on: push

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'adopt'
distribution: 'temurin'
java-version: '17'
cache: 'gradle'

- name: Grant execute permission for gradlew
run: chmod +x gradlew
Expand Down
53 changes: 29 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,44 +3,48 @@
unified minecraft modding environment.

## TODO for initial release

* ~~remap fg2+ era at's back to notch (fixing mc 1.7+)~~
* ~~remap user at's to notch~~
* ~~auto disable combined on <=1.2.5~~
* ~~figure out, why modloader not launching in dev due to classpath path instead of jar path~~

## TODO

* Refactor, refactor, refactor
~~* FG3+ support (>1.12.2)~~
~~* FG3+ support (>1.12.2)~~
* test user AT support
~~* fix fg3 versions of 1.12.2~~
~~* fix fg3 versions of 1.12.2~~
* fabric aw support
* combined jar support
~~* figure out how to get forge to recognise resources as part of the dev mod~~
~~* figure out how to get forge to recognise resources as part of the dev mod~~
* split fg2+ out of the mc jar
* figure out how to do automated testing
* figure out how to determine the correctness of remap output
* aka automate the verification that versions work
* list of versions to verify
* 1.19.2
* 1.17.1
* 1.16.5
* 1.13.2
* 1.12.2
* 1.8.9
* 1.7.10
* 1.6.4
* 1.5.2
* 1.3.2
* 1.2.5
* 1.7.3
* b1.3_01
* a1.1.2_01
* maybe by hash check?
* figure out what versions need `-Djava.util.Arrays.useLegacyMergeSort=true` to not randomly crash, this should really be part of the legacy mc version.json, or at least betacraft's, but it's not
~~* make myself a maven to host this on~~
~~* fix forge mappings on 1.17+~~
* figure out how to determine the correctness of remap output
* aka automate the verification that versions work
* list of versions to verify
* 1.19.2
* 1.17.1
* 1.16.5
* 1.13.2
* 1.12.2
* 1.8.9
* 1.7.10
* 1.6.4
* 1.5.2
* 1.3.2
* 1.2.5
* 1.7.3
* b1.3_01
* a1.1.2_01
* maybe by hash check?
* figure out what versions need `-Djava.util.Arrays.useLegacyMergeSort=true` to not randomly crash, this should really
be part of the legacy mc version.json, or at least betacraft's, but it's not
~~* make myself a maven to host this on~~
~~* fix forge mappings on 1.17+~~

## Example Usage

```groovy
plugins {
id 'java'
Expand Down Expand Up @@ -106,6 +110,7 @@ dependencies {
```

## B1.3_01 example

```groovy
plugins {
id 'java'
Expand Down
20 changes: 17 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ dependencies {
testImplementation(kotlin("test"))
// guava
implementation("com.google.guava:guava:31.1-jre")

// gson
implementation("com.google.code.gson:gson:2.9.0")

Expand All @@ -52,13 +53,26 @@ dependencies {

// pack200 provided by apache commons-compress
implementation("org.apache.commons:commons-compress:1.21")

// aw
implementation("net.fabricmc:access-widener:2.1.0")

// at
implementation("net.minecraftforge:accesstransformers:8.0.7")

implementation("org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.4.2") {
isTransitive = false
}

}

tasks.jar {
manifest {
attributes.putAll(mapOf(
"Implementation-Version" to project.version
))
attributes.putAll(
mapOf(
"Implementation-Version" to project.version
)
)
}
}

Expand Down
5 changes: 1 addition & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
kotlin.code.style=official

org.gradle.jvmargs=-Xmx1G
org.gradle.parallel=true

version=0.1.6

version=0.2.0
maven_group=xyz.wagyourtail
archives_base_name=unimined
Loading

0 comments on commit c1960b1

Please sign in to comment.