Skip to content

Commit

Permalink
Disable generateAccessWidener for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Su5eD committed Jul 4, 2024
1 parent 727e91b commit ead09f9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ jobs:
uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
- name: Setup env properties
shell: bash
run: |
mkdir -p ~/.gradle/
echo "GRADLE_USER_HOME=${HOME}/.gradle" >> $GITHUB_ENV
- name: Create placeholder assets dir
run: mkdir -p ${{ env.GRADLE_USER_HOME }}/caches/fabric-loom/assets
- run: ./gradlew check build publishToMavenLocal --stacktrace
Expand Down
4 changes: 2 additions & 2 deletions fabric-convention-tags-v2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ sourceSets {
}

dependencies {
// datagenImplementation project(path: ":fabric-data-generation-api-v1", configuration: 'namedElements')
datagenImplementation project(path: ":fabric-data-generation-api-v1", configuration: 'namedElements')
}

loom {
runs {
datagen {
inherit server
data()
name "Data Generation"
vmArg "-Dfabric-api.datagen"
vmArg "-Dfabric-api.datagen.output-dir=${file("src/generated/resources")}"
Expand Down
1 change: 1 addition & 0 deletions fabric-data-generation-api-v1/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ import java.util.zip.ZipEntry
import java.util.zip.ZipFile

task generateAccessWidener() {
enabled = false
doLast {
File inputJar = loom.namedMinecraftProvider.parentMinecraftProvider.mergedJar.path.toFile()
String accessWidener = "accessWidener\tv2\tnamed\n"
Expand Down
1 change: 1 addition & 0 deletions fabric-transitive-access-wideners-v1/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import java.nio.file.Path
import java.util.stream.Collectors

task generateAccessWidener {
enabled = false
doLast {
List<String> lines = new ArrayList<>();
lines.add("accessWidener v2 named")
Expand Down

0 comments on commit ead09f9

Please sign in to comment.