Skip to content

Commit

Permalink
Merge pull request #110 from truthencode/feature/antlr
Browse files Browse the repository at this point in the history
Feature/antlr
  • Loading branch information
adarro authored Sep 21, 2023
2 parents c73737f + 5165140 commit 2a15499
Show file tree
Hide file tree
Showing 23 changed files with 54 additions and 2,350 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,24 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: adopt
java-version: 11
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-version: wrapper
arguments: build --scan
- name: Run test and Coverage
uses: gradle/gradle-build-action@v2
with:
gradle-version: wrapper
arguments: reportScoverage aggregateAllTestReports
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
name: codecov-umbrella # optional
verbose: true # optional (default = false)
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: adopt
java-version: 11

- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
gradle-version: wrapper
arguments: build --scan
- name: Run test and Coverage
uses: gradle/gradle-build-action@v2
with:
gradle-version: wrapper
arguments: reportScoverage aggregateAllTestReports
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
name: codecov-umbrella # optional
verbose: true # optional (default = false)
2 changes: 1 addition & 1 deletion .trunk/trunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ lint:
- linters: [ALL]
paths:
- incubating/**
- /**/gradlew
- **/gradlew
runtimes:
enabled:
- go@1.21.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* This file was generated by the Gradle 'init' task.
*
* This project uses @Incubating APIs which are subject to change.
*/

plugins {
// Apply the common convention plugin for shared build configuration between library and application projects.
id("djaxonomy.kotlin-common-conventions")
Expand Down
2 changes: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
# limitations under the License.
#

sonar.projectKey=truthencode_ddo-calc
sonar.organization=truthencode
defaultJavaToolChainVersion=17

# foojay
Expand Down
13 changes: 7 additions & 6 deletions subprojects/common/ddo-antlr/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
plugins {
// kotlin("jvm") version "1.9.10"
id("io.truthencode.poc.kantlr.kotlin-library-conventions")
id("djaxonomy.kotlin-library-conventions")
antlr
// id("java-library-conventions")
// id("be.vbgn.ci-detect")
id("code-quality")
// id("djaxonomy.test-conventions")
idea
id("djaxonomy.kotlin-test-conventions")
}
Expand All @@ -20,8 +16,13 @@ repositories {
mavenCentral()
}

description = "Antlr Parsing utilities"

val antlrJavaPath =
PackagePath(project.layout.buildDirectory.dir("generated-src/java").get().asFile.path, "io.truthencode.ddo.grammar.antlr")
PackagePath(
project.layout.buildDirectory.dir("generated-src/java").get().asFile.path,
"io.truthencode.ddo.grammar.antlr"
)

data class PackagePath(val source: String, val packageName: String) {
/**
Expand Down
96 changes: 0 additions & 96 deletions subprojects/common/ddo-antlr/src/main/gen/EnchantmentsLexer.interp

This file was deleted.

512 changes: 0 additions & 512 deletions subprojects/common/ddo-antlr/src/main/gen/EnchantmentsLexer.java

This file was deleted.

28 changes: 0 additions & 28 deletions subprojects/common/ddo-antlr/src/main/gen/EnchantmentsLexer.tokens

This file was deleted.

This file was deleted.

171 changes: 0 additions & 171 deletions subprojects/common/ddo-antlr/src/main/gen/RomanNumeralsLexer.java

This file was deleted.

Loading

0 comments on commit 2a15499

Please sign in to comment.