Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Updates jastadd gradle version #2

Merged
merged 1 commit into from Nov 19, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions build.gradle
Expand Up @@ -4,7 +4,7 @@ buildscript {
url 'http://jastadd.org/mvn/'
}
dependencies {
classpath group: 'org.jastadd', name: 'jastaddgradle', version: '1.9.4'
classpath group: 'org.jastadd', name: 'jastaddgradle', version: '1.9.6'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version 1.9.9 is the latest version, and the preferred version because it uses only Maven Central for all dependencies (instead of relying on jastadd.org).

}
}

Expand Down Expand Up @@ -49,7 +49,7 @@ jastadd {
parser.name = 'JavaParser'
}

generateJava << {
generateJava {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the right thing to do here is to use

generateJava {
    doFirst { ... }

Using doFirst makes it execute before the other steps in this build task.

ant.copy file: file('third_party/extendj/git/java8/src/org/jastadd/extendj/scanner/JavaScanner.java'),
todir: file('src/gen/java/org/jastadd/extendj/scanner'),
overwrite: true
Expand Down