forked from AHRQ-CDS/CQL-Testing-Framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
21 lines (18 loc) · 743 Bytes
/
build.gradle
File metadata and controls
21 lines (18 loc) · 743 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
plugins {
id 'java'
}
repositories {
mavenCentral()
}
dependencies {
runtimeOnly 'info.cqframework:cql-to-elm-cli:3.12.0'
}
task cql2elm(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
mainClass = 'org.cqframework.cql.cql2elm.cli.Main'
if (project.hasProperty("targetDir")) {
args '--input', targetDir, '--format', 'JSON', '--annotations', '--locators', '--result-types', '--signatures', 'All', '--disable-list-demotion', '--disable-list-promotion'
} else { // NOTE: For translating CQL for `cql-testing` built-in tests.
args '--input', './test/yaml', '--format', 'JSON', '--annotations', '--locators', '--result-types', '--signatures', 'All', '--disable-list-demotion', '--disable-list-promotion'
}
}