Moved to gradle build system.

This commit is contained in:
Jonathan Bernard 2015-02-05 00:25:56 -06:00
parent a9e2bc0d46
commit f98dd382fe
27 changed files with 30 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
.gradle/
docs/jlp-docs/ docs/jlp-docs/
build/ build/
.*.sw? .*.sw?

27
build.gradle Normal file
View File

@ -0,0 +1,27 @@
apply plugin: "groovy"
apply plugin: "maven"
group = "com.jdblabs"
version = "1.8"
repositories {
mavenLocal()
mavenCentral() }
dependencies {
compile 'org.codehaus.groovy:groovy-all:2.3.6'
compile 'org.pegdown:pegdown:1.4.2'
compile 'org.slf4j:slf4j-api:1.7.10'
compile 'ch.qos.logback:logback-core:1.1.2'
compile 'ch.qos.logback:logback-classic:1.1.2'
compile 'commons-cli:commons-cli:1.2'
compile 'org.apache.commons:commons-lang3:3.3.2'
compile 'com.jdbernard:jdb-util:3.4'
compile 'org.pegdown:pegdown:1.4.2'
}
jar {
manifest {
attributes("Main-Class": "com.jdbernard.remindme.DailyAgenda")
}
}

View File

@ -63,8 +63,8 @@ public class JLPPegParser extends BaseParser<Object> implements JLPParser {
MDOC_START = FirstOf(mdocStarts.toArray()).label("MDOC_START"); MDOC_START = FirstOf(mdocStarts.toArray()).label("MDOC_START");
MDOC_END = FirstOf(mdocEnds.toArray()).label("MDOC_END"); MDOC_END = FirstOf(mdocEnds.toArray()).label("MDOC_END");
SDOC_START = FirstOf(sdocStarts.toArray()).label("SDOC_START"); SDOC_START = FirstOf(mdocStarts.toArray()).label("SDOC_START");
MDOC_LINE_START = AnyOf(mdocLineStart).label("MDOC_LINE_START"); } MDOC_LINE_START = AnyOf(mdocLineStarts).label("MDOC_LINE_START"); }
/** /**
* #### Single-line comments only constructor. * #### Single-line comments only constructor.