Skip to content

Commit

Permalink
make sure tasks generating FIX codecs treat dictionaries as inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciech-adaptive committed Sep 3, 2024
1 parent 365cc5c commit 2ea3af7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -639,15 +639,19 @@ project(':artio-session-codecs') {
tasks.register('generateCodecs', JavaExec) {
mainClass.set('uk.co.real_logic.artio.dictionary.CodecGenerationTool')
classpath = configurations.codecGeneration
args = [generatedDir, 'src/main/resources/session_dictionary.xml']
def dictionaryFile = 'src/main/resources/session_dictionary.xml'
inputs.file(dictionaryFile)
args = [generatedDir, dictionaryFile]
outputs.dir generatedDir
systemProperty("fix.codecs.flyweight", "true")
}

tasks.register('generateOtherCodecs', JavaExec) {
mainClass.set('uk.co.real_logic.artio.dictionary.CodecGenerationTool')
classpath = configurations.codecGeneration
args = [generatedDir, 'src/main/resources/other_session_dictionary.xml']
def dictionaryFile = 'src/main/resources/other_session_dictionary.xml'
inputs.file(dictionaryFile)
args = [generatedDir, dictionaryFile]
outputs.dir generatedDir
systemProperty("fix.codecs.flyweight", "true")
systemProperty("fix.codecs.parent_package", "uk.co.real_logic.artio.other")
Expand Down

0 comments on commit 2ea3af7

Please sign in to comment.