Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ task runAntlr(type:JavaExec) {
inputs.dir antlrMainDir
outputs.dir antlrMainGeneratedSrcDir

main = "org.antlr.v4.Tool"
mainClass = "org.antlr.v4.Tool"
args = ["${antlrMainDir}/OpenhouseSqlExtensions.g4",
"-visitor",
"-o", "${antlrMainGeneratedSrcDir}/${antlrPackageDirPrefix}",
Expand Down
8 changes: 6 additions & 2 deletions scripts/java/tools/dummytokens/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ plugins {
id 'openhouse.maven-publish'
id 'application'
}
apply plugin: 'application'
mainClassName = 'com.linkedin.openhouse.tools.dummytokens.DummyTokenGenerator'

application {
mainClass = 'com.linkedin.openhouse.tools.dummytokens.DummyTokenGenerator'
}

dependencies {
implementation(project(':services:common')){
Expand All @@ -17,6 +19,8 @@ dependencies {
}

jar {
// Ensure all runtime dependencies are built before creating the fat jar
dependsOn configurations.runtimeClasspath
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
manifest {
attributes(
Expand Down