Skip to content

Latest commit

 

History

History
95 lines (55 loc) · 2.08 KB

README.md

File metadata and controls

95 lines (55 loc) · 2.08 KB

sailfish-gradle-plugin

The Gradle plugin used within Sailfish projects

How to use the plugin

With plugins scope

plugins {
   id 'com.exactpro.sailfish-gradle-plugin'
}

With apply plugin

Add the plugin to classpath and replace it <version-of-plugin> with correct version of plugin at the end of classpath method

buildscript {
    dependencies {
        classpath(group: 'com.exactpro.sailfish-gradle-plugin', name: 'sailfish-gradle-plugin', version: '<version-of-plugin>')
    }
}

and apply the plugin from the classpath with following command

apply plugin: 'com.exactpro.sailfish-gradle-plugin'

Information about the plugin

Available tasks:

generateXmlFAST

Implemented in ConvertFASTTemplate class

Generates FAST dictionaries from templates

writeBuildInfo

Implemented in BuildInfoWriter class

Prints out information about the build artifacts

writeFile

Implemented in WriteFileTask class

The task for writing into a file

generateXmlFix

Implemented in ConvertFixDictionary class

checkCompatibility

Implemented in CompatibilityChecker class

Checks compatibility of classes in a plugin with components of core

validateDictionary

Implemented in DictionaryValidatorPlugin class

Validates dictionaries in plugins with associated validator classes

generateVersionClass

Implemented in GenerateVersionClass class

Generates a class that provides information the version about the package. The resulting file has the following format: *Version.java

generateXmlQuicfixj

Implemented in ConvertSailfishDictionaryToQuickfixj class

Generates FIX dictionaries from templates

collectDependencies

Implemented in DependencyCollector class

Collects information about dependencies of com.exactpro.sf group with some additional data

convertFixOrchestraToSailfishDictionary

Implemented in OrchestraToSailfishConverter class

Exactpro Logo