Commit graph

18 commits

Author SHA1 Message Date
Jozufozu
bc9f515bea All your script are belong to us
- Port java/subproject convention plugins to kotlin binary plugin
- Fix licence bundling in jars
- Update licence year
2024-05-04 16:56:47 -07:00
Jozufozu
45a5ca6372 Declaration of jar
- Expose desired behaviors from platform plugin via an extension
- Move PlatformPlugin to platform package
2024-05-04 16:56:47 -07:00
Jozufozu
19d741e354 Caught linking
- Upgrade buildSrc to kotlin buildscript
- Add TransitiveSourceSet extension to abstract creating the different
  source sets and creating the configurations to apply dependencies
2024-05-04 16:56:47 -07:00
Jozufozu
da478cd114 Plugin play
- Convert package infos stuff to a proper plugin
- Add extension for specifying which source sets get generated package
  infos
- Move extension classes into their own files
- Move GeneratePackageInfosTask into com.jozufozu.gradle
2024-05-04 16:56:47 -07:00
Kneelawk
dd77686107 Add common publishing 2024-05-04 16:56:46 -07:00
Jozufozu
2e7c33b355 Pretty groovy man
- Upgrade platform script plugin to pre-compiled groovy plugin
- It was getting really difficult to manage all the logic/plugins/types
  from the basic script, and implementing a real plugin gives us much
  better type safety and IDE access to upstream plugins
- Separate api/lib/backend/impl in platform projects
- Add platform module output to main runtime classpath so the fabric
  loader recognizes our additional modules
2024-05-04 16:56:46 -07:00
Jozufozu
52eef2e538 Unconventional
- Use convention plugins for common build logic
- Convention plugins get to be applied in the plugins block and can load
  other plugins
- Move GeneratePackageInfosTask to its own file in buildSrc
- Apply GeneratePackageInfosTask to every sourceSet
2024-05-04 16:56:46 -07:00
Jozufozu
82c7adedb7 Centrifuge
- Separate common project into 4 source sets
- Declare outgoing configurations for forge/fabric to depend on
- Re-compile source from each source set in each platform's compileJava
2024-05-04 16:56:45 -07:00
Kneelawk
3c7ecddcc8 Fix artifactIds 2024-05-04 16:56:44 -07:00
Jozufozu
77c2181318 Graidiomatic
- Move common build script stuff to buildSrc
- Set ideaSyncTask finalizedBy generatePackageInfos directly in
  package-infos.gradle
- Enable loom multiproject optimization, though not sure if it makes a
  difference for us yet
2024-05-04 16:56:43 -07:00
PepperCode1
9d227c5887 Minor clean up and fixes 2024-05-04 16:56:43 -07:00
Jozufozu
f471edc5f4 Gradle grumbles
- Apply java, maven-publish to all projects
- Prefer the tasks.named() syntax for configuring tasks
- Separate shared configuration for platform projects into a separate
  configure block
- Add more fields to processResources
- Make helper methods static
- Exclude duplicated package infos
2024-05-04 16:56:43 -07:00
Jozufozu
69290410eb Out for a run
- Move loom.runs into subprojects closure
- Move common code sharing into subprojects closure
- Apply java plugin
- Fix runs not being generated by moving generatePackageInfos to the
  bottom
2024-05-04 16:56:42 -07:00
Jozufozu
5e7e867bcd Deduplication and stubs
- Move common gradle business from each subproject into the
  rootProject.subprojects closure
- Add fabric.mod.json
- Register forge mixin configs
- Make blaze3d mixins remap = false
- Separate common, forge, and fabric mod entrypoints
2024-05-04 16:56:42 -07:00
Kneelawk
0d8a63f189 Add jsr305 compile dependency 2024-05-04 16:56:41 -07:00
Kneelawk
a6157c59b3 Re-add sodium/embeddium, iris/oculus, starlight dependencies 2024-05-04 16:56:41 -07:00
Kneelawk
99044bcf7b Re-add package-info generation 2024-05-04 16:56:41 -07:00
Kneelawk
0d43681d54 Begin architectury setup 2024-05-04 16:56:40 -07:00