grade: also include parser in fatJar to make it complete, and exclude the huge ic4j library that isn't used

This commit is contained in:
Irmen de Jong 2019-03-02 22:41:21 +01:00
parent 32405a1637
commit ed43f7cd9b
2 changed files with 5 additions and 2 deletions

View File

@ -16,6 +16,7 @@ dependencies {
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion"
runtime "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion"
runtime 'org.antlr:antlr4-runtime:4.7.2'
runtime project(':parser')
testImplementation "org.jetbrains.kotlin:kotlin-test-junit5:$kotlinVersion"
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.3.2'

View File

@ -8,7 +8,9 @@ repositories {
}
dependencies {
antlr 'org.antlr:antlr4:4.7.2'
antlr('org.antlr:antlr4:4.7.2') {
exclude group: 'com.ibm.icu', module: 'icu4j'
}
}
compileJava {
@ -29,4 +31,4 @@ sourceSets {
srcDirs = ["${project.projectDir}/antlr"]
}
}
}
}