From d7940df9dc59bf40f80182160dad1cc3e6847a97 Mon Sep 17 00:00:00 2001 From: Martin Hock Date: Sun, 6 Oct 2024 08:33:37 +0200 Subject: [PATCH] Add Gradle usage --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index ddc8146..96687a0 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,16 @@ Add Taikai as a dependency in your `pom.xml`: Replace `${taikai.version}` with the appropriate version defined in your project. Ensure that the required dependencies like ArchUnit are already declared. +## Gradle Usage + +Add Taikai as a dependency in your `build.gradle` file: + +```groovy +testImplementation "com.enofex:taikai:${taikaiVersion}" +``` + +Replace `${taikai.version}` with the appropriate version defined in your project. Ensure that the required dependencies like ArchUnit are already declared. + ## JUnit 5 Example Test Here's an example demonstrating the usage of some Taikai rules with JUnit 5. Customize rules as needed using `TaikaiRule.of()`.