Commit Graph

41 Commits

Author SHA1 Message Date
modmuss50
7e8187a36d Fix some IDE's (vsc) not detecting the correct java version to compile for. 2023-03-20 18:06:57 -05:00
zml
b47118c0c0 Modernize Gradle buildscript (#71)
* Modernize gradle buildscript

* Bump yarn/loader/fabric api versions

* Add GH actions to build example mod

* Update in response to feedback
2023-03-20 18:06:57 -05:00
Ned Loynd
d418f29434 Simply processResources logic & make it compatible with future versions of Gradle (#69)
* Ignore commonly generated Mac OS junk files

This is optional, but it would be a huge quality of life improvement for anyone developing on Mac OS, as the first thing I do when starting a new project is always to add this to the .gitignore. Example: Just from the small changes I've made to the build script alone, I've generated 4 .DS_Store files, which would clutter up this PR if I included them.

* Simply processResources logic & make it compatible with future versions of Gradle

When the processResources task is currently run, it uses deprecated Gradle features. Running "gradle clean build --warning-mode all" should output a message along the lines of "Copying or archiving duplicate paths with the default duplicates strategy has been deprecated. This is scheduled to be removed in Gradle 7.0.". This is due to inlcuding all files twice, as the "from" blocks includes them for the second time (gradle includes these files by default). This PR simply edits the relevant files from the already selected resources directory. This also reduces the amount of repetition in the script.

* Switch to double quotes to match style

D'oh!
2023-03-20 18:06:57 -05:00
modmuss50
15702ab2d6 Update api, loader, loom, gradle 2023-03-20 18:06:57 -05:00
modmuss50
34822a9d8a Update Loom 2023-03-20 18:06:57 -05:00
modmuss50
94c6fdae11 Update loom, gradle and all other deps 2023-03-20 18:06:57 -05:00
modmuss50
fa9bb5786e Update gradle, update deps, modCompile -> modImplementation 2023-03-20 18:06:57 -05:00
Brad Erickson
11e84d5edd Update yarn, loader and api (#31)
Co-authored-by: modmuss50 <modmuss50@gmail.com>
2023-03-20 18:06:57 -05:00
modmuss50
be4e99199c Update loom + dependencies 2023-03-20 18:06:57 -05:00
asie
68803953ba version updates 2023-03-20 18:06:57 -05:00
modmuss50
477eb10b53 Update to 1.14.1 and Fabric API 0.3.0 2023-03-20 18:06:57 -05:00
asie
52a1fb39d6 Minecraft 1.14, Loom 0.2.2 2023-03-20 18:06:57 -05:00
asie
7c685de353 actually update to Loom 0.2.1 2023-03-20 18:06:57 -05:00
asie
c97c923e09 fix typo 2023-03-20 18:06:56 -05:00
UpcraftLP
e7fad09f14 remove javadoc jar 2019-02-15 22:41:11 +01:00
UpcraftLP
8243775b5c automatically set mod version on export 2019-02-15 22:39:48 +01:00
UpcraftLP
8c0584bbaf fix indentation 2019-02-15 22:29:42 +01:00
UpcraftLP
9101ee4ee9 fix maven publishing 2019-02-15 22:25:50 +01:00
UpcraftLP
682afc73a4 add javadoc task and maven-publish plugin 2019-02-15 22:01:20 +01:00
UpcraftLP
133913f420 encoding fix for special characters 2019-02-15 21:55:33 +01:00
UpcraftLP
8bbfcdcb4b move properties out of the main buildscript 2019-02-15 21:54:29 +01:00
UpcraftLP
51bee1baf0 use constants for source/target compatibility levels 2019-02-15 21:52:41 +01:00
modmuss50
2931e41b5a Update to 19w06a and 0.2.0 fabric 2019-02-10 15:16:38 +00:00
modmuss50
8872b16f24 Update example mod to 19w05a 2019-02-02 06:43:11 +00:00
modmuss50
23f49411a8 Update example to 19w03c and increase the memory for gradle. 2019-01-24 00:45:28 +00:00
modmuss50
5898ba99a5 Update to 19w02a 2019-01-09 20:47:06 +00:00
Adrian Siekierka
4d7ab690c3 important update 2018-12-22 21:34:15 +01:00
Adrian Siekierka
b58680946a add sourcesJar 2018-12-22 17:37:14 +01:00
Adrian Siekierka
e79420b9c7 update Loom, Fabric 2018-12-22 17:36:30 +01:00
Zsombor Prisznyák
f74f4185ac Bumped version (#4) 2018-12-21 22:31:14 -05:00
asie
8215e4757d update build.gradle for 18w50a 2018-12-12 18:35:28 +01:00
asie
48c5c10977 update 2018-12-11 21:18:37 +01:00
asie
4bce6a728d update build.gradle 2018-12-11 14:13:45 +01:00
modmuss50
d620bd25cb Update Yarn and Fabric 2018-12-10 21:25:49 +00:00
Adrian Siekierka
c5477b3e94 update build.gradle 2018-12-09 22:29:33 +01:00
Adrian Siekierka
e87fd77bcf update library versions 2018-12-09 17:49:28 +01:00
asie
6a975962b6 Merge branch 'master' of https://github.com/NikkyAI/fabric-example-mod into NikkyAI-master 2018-12-01 17:22:07 +01:00
Adrian Siekierka
4d0c364880 update to 48b, new fabric-loader definition 2018-11-30 16:54:05 +01:00
NikkyAI
33ecb40f61 use plugins block for fabric-loom
add .gitignore
2018-11-06 11:28:20 +01:00
asie
952a3d1787 update to 0.0.13 2018-11-06 10:51:23 +01:00
Adrian Siekierka
b755e01769 first commit 2018-11-03 23:25:39 +01:00