-
Notifications
You must be signed in to change notification settings - Fork 116
Working 1.21 port (for the most part) #985
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: devel/port-1.21
Are you sure you want to change the base?
Changes from 39 commits
6bcb401
2774bbb
e3391a8
c9274b9
9f1e2f0
87e9ab1
fb7544e
1098f8a
09495cb
c4ed240
b07e5b7
b3a63f5
8ade16d
93a695a
254917c
caea11d
63ef2cd
facfe82
96fe119
f60841f
60bafd6
d550985
b0debec
cf1a3aa
9a8fad3
b64763f
b58bec6
96e569e
7987ab5
871d6ff
47d68cc
9a9e54a
057042c
b9beb48
5735591
6f8d182
8c860c5
a9b83be
eda63f6
6de5e26
d054fec
17eff39
582f901
a8e70cb
8f6089a
26a800a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,8 +2,18 @@ architectury { | |
| common(["fabric", "neoforge"]) | ||
| } | ||
|
|
||
| loom { | ||
| accessWidenerPath = file("src/main/resources/hexplat.accesswidener") | ||
| } | ||
|
|
||
| pkSubproj { | ||
| platform = "common" | ||
| pkPublish = false | ||
| } | ||
|
|
||
| repositories { | ||
| mavenCentral() | ||
| mavenLocal() | ||
|
|
||
| maven { url 'https://maven.blamejared.com' } | ||
|
|
||
|
|
@@ -25,17 +35,25 @@ repositories { | |
| maven { url = "https://maven.terraformersmc.com/releases/" } | ||
| } | ||
|
|
||
| loom { | ||
| accessWidenerPath = file("src/main/resources/hexplat.accesswidener") | ||
| } | ||
|
||
|
|
||
| dependencies { | ||
| // === MANDATORY DEPS === | ||
| compileOnly "at.petra-k:paucal:$paucalVersion+$minecraftVersion-common" | ||
| // We depend on Fabric Loader here to use the Fabric @Environment annotations, | ||
| // which get remapped to the correct annotations on each platform. | ||
| // Do NOT use other classes from Fabric Loader. | ||
| modImplementation "net.fabricmc:fabric-loader:$rootProject.fabric_loader_version" | ||
|
|
||
| modCompileOnly "at.petra-k:paucal:$paucalVersion+$minecraftVersion-common" | ||
| // i do not know why the xplat and mod jars are in different coordinates | ||
| compileOnly "vazkii.patchouli:Patchouli-xplat:1.21-$patchouliVersion-SNAPSHOT" | ||
| // inline isn't out for 1.21 yet shaking my sm my shaking smh head | ||
| // compileOnly "com.samsthenerd.inline:inline-forge:$minecraftVersion-$inlineVersion" | ||
| modCompileOnly "vazkii.patchouli:Patchouli-xplat:1.21-$patchouliVersion-SNAPSHOT" | ||
| modCompileOnly "com.samsthenerd.inline:inline-common:1.21.1-1.2.2-74" | ||
|
|
||
| // === OPTIONAL DEPS === | ||
| modCompileOnly "dev.emi:emi-xplat-intermediary:${emiVersion}:api" | ||
| compileOnly "io.wispforest:accessories-common:$accessoriesVersion" | ||
| modCompileOnly "io.wispforest:accessories-common:$accessoriesVersion" | ||
|
|
||
| // === OTHER STUFF === | ||
| compileOnly "org.jetbrains:annotations:$jetbrainsAnnotationsVersion" | ||
|
|
@@ -60,4 +78,4 @@ processResources { | |
| } | ||
|
|
||
| // it wants a task by this name to exist for some reason | ||
| task("prepareWorkspace") {} | ||
| tasks.register('prepareWorkspace') {} | ||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is unnecessary. We configure
platformin the basebuild.gradle, andpkPublishdefaults tofalsealready.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.