architectury / architectury-plugin

A simple gradle plugin to enable developing multiplatform mods.
MIT License
56 stars 19 forks source link

Add ArchitecturyPluginExtension.fromCommon #44

Open Juuxel opened 8 months ago

Juuxel commented 8 months ago

Basic usage example:

architectury {
    // Sets up dev dependencies and production jar bundling as a one-liner.
    fromCommon ':common'
}

More complicated usage example from Arch API: https://github.com/Juuxel/architectury-api/commit/39de89cf0d5941fd66f728ff52be479e06817a19

Note about the version: this isn't a breaking change, but it's a good chance to introduce some cleanup breaking changes, like removing unused properties and simplifying the extension class.

rhysdh540 commented 8 months ago

question-why make this in java instead of kotlin like the rest of the plugin?