Commit graph

15 commits

Author SHA1 Message Date
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
0a1340f107 Unplugging it and plugging it back in
- Convert existing binary plugins to kotlin
- Move each plugin to a different 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
PepperCode1
8bf6957e39 Fabric client commands 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
Jozufozu
b5cbd28f74 Publicity stunt
- Only publish api/lib and full jars for platforms
- Do not eagerly create outgoing configurations for JarTaskSet
- Add method to create outgoing configuration
- Clean up JarTaskSet creation and move some string constants to statics
- Set @CompileStatic
- Remove ${name} classifier prefix from JarTaskSet jars
- Put JarTaskSet jars into subdirectories in the output folders
- Add configure and configureEach methods to JarTaskSet
- Rename OutgoingConfigurationPlugin -> JarSetPlugin and move extension
  to root module so idea offers completions in gradle files
- Standardize artifact naming flywheel-$platform(-api)?-$mcversion
2024-05-04 16:56:47 -07:00
Kneelawk
ce5a04749c Get Publishing! 2024-05-04 16:56:46 -07:00
Kneelawk
4145d80441 Use central javadoc-options file 2024-05-04 16:56:46 -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
b30b1f7e0d Fix refmaps 2024-05-04 16:56:44 -07:00
Kneelawk
819863a112 Fix javadoc task 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