Skip to content

v0.2.0

Choose a tag to compare

@martinbonnin martinbonnin released this 24 Dec 00:32
· 16 commits to main since this release

This release simplifies the Gradle configuration and adds support for generating Settings plugins, alongside a few other fixes.

com.gradleup.gratatouille.wiring is replaced by com.gradleup.gratatouille for simplicity.

plugins {
  // Replace 
  id("com.gradleup.gratatouille.wiring")
  // With
  id("com.gradleup.gratatouille")
}

Similarly, gratatouille-wiring-runtime is now just gratatouille-runtime:

dependencies {
  // Replace 
  implementation("gratatouille-wiring-runtime")
  // With
  implementation("gratatouille-runtime")
}

You'll also need to replace the package:

// Replace
import gratatouille.wiring.*
// With
import gratatouille.*

Code generation is now enabled automatically if KSP is applied:

gratatouille {
  // Remove
  codeGeneration()
  
  // If you need to configure some parameters, those are now top level:
  
  // Replace
  codeGeneration {
    addDependencies = false
  }
  // With
  addDependencies = false
}

πŸ‘·β€β™‚οΈ All changes:

  • [NEW] Add support for settings plugins in #87
  • [BREAKING] Merge the com.gradleup.gratatouille.wiring and the com.gradleup.gratatouille plugins and simplifiy configuration in #84
  • [FIX] Allow digits in the isolated classloader configuration name in #80
  • [FIX] Remove json dependency in the wiring runtime in #82
  • [FIX] Change configurations.all to configurations.configureEach in #81