Replies: 5 comments 1 reply
-
Hi @sobelek. Great idea. Think both approaches can be used. No matter which one we choose this project must be refactored to have at least two modules - first with common code (independent from Gradle API) and second with plugin (Gradle API). If you want I can prepare these modules. Let me know if you want. One repo with two plugins allows to keep both plugins synchronized with all features. I'm fine with both approaches. Feel free to choose the one which is better for you. |
Beta Was this translation helpful? Give feedback.
-
Just to be clear. There is no way to get |
Beta Was this translation helpful? Give feedback.
-
I've started work on extracting common code. You can see current results here https://github.com/platan/tests-execution-chart/compare/split-api?expand=1 commons module is published to https://github.com/features/packages. You can see it here I'm using it for the first time and I think it's not the best solution, since you have to authenticate to GH if you want to use artifacts from it (docs). repositories {
maven {
url = uri("https://maven.pkg.github.com/platan/tests-execution-chart")
credentials {
username = System.getenv("USERNAME")
password = System.getenv("TOKEN")
}
}
}
dependencies {
implementation("io.github.platan:tests-execution-chart-commons:0.1.0-SNAPSHOT")
} But it works. In the future I plan to publish it to Maven Central Repository. |
Beta Was this translation helpful? Give feedback.
-
tests-execution-chart-commons module is in master. Packages are currently available via https://github.com/platan/tests-execution-chart/packages/. |
Beta Was this translation helpful? Give feedback.
-
Snapshots of are available in https://s01.oss.sonatype.org/content/repositories/snapshots. |
Beta Was this translation helpful? Give feedback.
-
Hey.
@platan
I recently wanted to use test-execution-chart in Maven project and to my suprise it's gradle only plugin.
I am thinking about implementing the same functionality for maven and wanted to discuss possible solutions.
Do you think it would be feasible to do multi build system project or it would be better to either split it into totally separate project with shared common code?
Beta Was this translation helpful? Give feedback.
All reactions