A BOM (Bill of Materials) POM for ZK dependencies.
Add these lines in your pom.xml
:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.zkoss.zk</groupId>
<artifactId>zk-bom</artifactId>
<version>x.y.z</version><!-- replace with the actual version -->
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
Add these lines in your build.gradle
:
dependencies {
// replace with the actual version
implementation(platform('org.zkoss.zk:zk-bom:x.y.z'))
}