Skip to content

Commit

Permalink
Add wrapper task with comment for how to change it to bin
Browse files Browse the repository at this point in the history
  • Loading branch information
TelepathicGrunt committed May 30, 2024
1 parent e2a0103 commit 4d83b5d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ plugins {
id 'net.neoforged.gradle.userdev' version '7.0.133'
}

tasks.named('wrapper', Wrapper).configure {
// Define wrapper values here so as to not have to always do so when updating gradlew.properties
// Wrapper.DistributionType.ALL will download the full gradle sources that comes with documentation attached on
// cursor hover of gradle classes and methods. If you want a smaller gradle footprint on your machine,
// switch this to be Wrapper.DistributionType.BIN and then run the Gradle wrapper task twice.
// (Verify by checking gradle/wrapper/gradle-wrapper.properties to see if distributionUrl now points to `-bin`)
distributionType = Wrapper.DistributionType.ALL
}

version = mod_version
group = mod_group_id

Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.

0 comments on commit 4d83b5d

Please sign in to comment.