Skip to content
Open
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
44 changes: 44 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
description = 'Java code generator for JavaCC 8. Discovered by core via ServiceLoader.'

base.archivesName = 'javacc-java'

dependencies {
// 'api', not 'implementation': anyone invoking the generator needs
// org.javacc.parser.Main on the compile/runtime classpath as well.
api project(':javacc-8-core')

testImplementation "junit:junit:${providers.gradleProperty('junitVersion').get()}"
}

sourceSets {
main {
// src/main/util holds a stand-alone instrumentation agent used during
// generator development only. Upstream never compiles it either.
java {
srcDirs = ['src/main/java']
}
resources {
srcDirs = ['src/main/resources']
}
}
}

tasks.named('jar', Jar) {
manifest {
attributes('Automatic-Module-Name': 'org.javacc.generator.java')
}
}

// The templates under src/main/resources/templates/** are read verbatim at
// generation time. Never let a resource filter touch them.
tasks.named('processResources', ProcessResources) {
filteringCharset = 'UTF-8'
}

publishing.publications.named('maven', MavenPublication) {
artifactId = 'javacc-java'
pom {
name = 'JavaCC 8 Java Code Generator (Manticore fork)'
description = project.description
}
}
11 changes: 0 additions & 11 deletions examples/CORBA-IDL/README.md

This file was deleted.

2 changes: 0 additions & 2 deletions examples/CORBA-IDL/files/Hello.exp_out

This file was deleted.

7 changes: 0 additions & 7 deletions examples/CORBA-IDL/files/Hello.idl

This file was deleted.

131 changes: 0 additions & 131 deletions examples/CORBA-IDL/pom.xml

This file was deleted.

Loading