livefront / sealed-enum

A Kotlin annotation processor that makes writing normal enum classes obsolete.
Apache License 2.0
149 stars 7 forks source link

Add convention plugins for buildscript setup #99

Closed alexvanyo closed 2 years ago

alexvanyo commented 2 years ago

This PR reworks the buildscript logic into using convention plugins, as outlined here: https://developer.squareup.com/blog/herding-elephants/

While this project isn't large enough where it makes sense to test the convention plugins, it still nicely separates build logic and avoids the pitfalls of allprojects, subprojects and buildSrc.

No functional changes here, although the cleaned up build script did remove some unnecessary API files (the root project, test projects, etc.)

github-actions[bot] commented 2 years ago

🧛 Project Code Coverage: 97.65%

Coverage of Modified Files:

File Coverage

Modified Files Not Found In Coverage Report:

Dangerfile build.gradle.kts build.gradle.kts build.gradle.kts build.gradle.kts build.gradle.kts build.gradle.kts build.gradle.kts build.gradle.kts build.gradle.kts com.livefront.sealedenum.detekt.gradle.kts com.livefront.sealedenum.kotlin.gradle.kts com.livefront.sealedenum.publish.gradle.kts gradle-wrapper.properties libs.versions.toml settings.gradle.kts settings.gradle.kts

Codebase cunningly covered by count Shroud 🧛

Generated by :no_entry_sign: Danger

alexvanyo commented 2 years ago

Thanks @byencho !