cashapp / misk

Microservice Kontainer
https://cashapp.github.io/misk/
391 stars 166 forks source link

build: cleanup build scripts, use lazy APIs, update to Gradle 8.8. #3292

Closed autonomousapps closed 3 weeks ago

autonomousapps commented 4 weeks ago

Can be reviewed commit-by-commit, although two of the final commits are rather large (very samesy though).

autonomousapps commented 4 weeks ago

api check failure:

  --- /home/runner/work/misk/misk/misk-api/api/misk-api.api
  +++ /home/runner/work/misk/misk/misk-api/build/api/misk-api.api
  @@ -56,7 +56,7 @@
   public abstract interface class misk/scope/ActionScoped {
    public static final field Companion Lmisk/scope/ActionScoped$Companion;
    public abstract fun get ()Ljava/lang/Object;
  - public abstract fun getIfInScope ()Ljava/lang/Object;
  + public fun getIfInScope ()Ljava/lang/Object;
   }

should I just update it per this suggestion?

You can run :misk-api:apiDump task to overwrite API declarations