This is the template project for creating custom libraries for working with th2, which contains helpful util functions for different exchange protocols.
- Edit package name (
com.exactpro.th2.lib.template
in template). It should correspond to the project name (e.g.,com.exactpro.th2.lib.protocol
). - Place your custom code files in the package.
- Edit
release_version
andvcs_url
properties ingradle.properties
file. - Edit
rootProject.name
variable insettings.gradle
file. This will be the name of the Java package. - Edit
README.md
file according to the new project.
- Perform the necessary changes.
- Update the package version of Java in
gradle.properties
file. - Commit everything.
If you wish to manually create and publish a package for Java, run the following command:
gradle --no-daemon clean build publish artifactoryPublish \
-Purl=${URL} \
-Puser=${USER} \
-Ppassword=${PASSWORD}
URL
, USER
and PASSWORD
are parameters for publishing.