Skip to content

Commit

Permalink
Moved action-lang notation script stuff to notation-script module. Re…
Browse files Browse the repository at this point in the history
…moved basic antlr test
  • Loading branch information
retrodaredevil committed Jan 27, 2023
1 parent f8b58a5 commit 3430c81
Show file tree
Hide file tree
Showing 22 changed files with 32 additions and 104 deletions.
22 changes: 0 additions & 22 deletions action-lang/build.gradle
Original file line number Diff line number Diff line change
@@ -1,22 +0,0 @@
plugins {
id 'java'
id 'antlr'
}

version = '0.0.1-SNAPSHOT'

sourceCompatibility = 1.8
targetCompatibility = 1.8

dependencies {
antlr 'org.antlr:antlr4:4.11.1' // use ANTLR version 4
}
compileJava {
// options.compilerArgs << "-XepExcludedPaths:.*/build/generated-src/.*" // for antlr generated folder to remove errorprone warnings from ANTLR
}
generateGrammarSource {
maxHeapSize = "64m"
arguments += [
"-visitor", "-long-messages",
]
}

This file was deleted.

7 changes: 7 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,16 @@ project(":action-node"){
annotationProcessor project(":process-annotations")
}
}
project(":notation-script"){
apply plugin: 'java'
dependencies {
annotationProcessor project(":process-annotations")
}
}
project(":action-lang"){
apply plugin: 'java'
dependencies {
api project(":notation-script")
api project(":action-node")
annotationProcessor project(":process-annotations")
}
Expand Down
24 changes: 24 additions & 0 deletions notation-script/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
plugins {
id 'java'
id 'antlr'
}

version = '0.0.1-SNAPSHOT'

sourceCompatibility = 1.8
targetCompatibility = 1.8

dependencies {
antlr 'org.antlr:antlr4:4.11.1' // use ANTLR version 4
api "com.fasterxml.jackson.core:jackson-annotations:$jacksonVersion"
api "com.fasterxml.jackson.core:jackson-databind:$jacksonVersion"
}
compileJava {
// options.compilerArgs << "-XepExcludedPaths:.*/build/generated-src/.*" // for antlr generated folder to remove errorprone warnings from ANTLR
}
generateGrammarSource {
maxHeapSize = "64m"
arguments += [
"-visitor", "-long-messages",
]
}
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ include 'common'
include 'process-annotations'
include 'action-node'
include 'action-lang'
include 'notation-script'
include 'web'

0 comments on commit 3430c81

Please sign in to comment.