-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds support for Gradle build system for several projects
- Loading branch information
Showing
44 changed files
with
1,035 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
plugins { | ||
id 'distribution' | ||
} | ||
|
||
// Java project | ||
apply plugin: 'java' | ||
|
||
java { | ||
sourceCompatibility = JavaVersion.VERSION_11 | ||
targetCompatibility = JavaVersion.VERSION_11 | ||
} | ||
|
||
|
||
// Repositories providers | ||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
testImplementation "junit:junit:4.11" | ||
|
||
implementation ":CommonsCompressPlus" | ||
implementation ":CommonsLangPlus" | ||
implementation ":SpecsUtils" | ||
implementation ":tdrcLibrary" | ||
|
||
implementation ":LaraUtils" | ||
implementation ":LanguageSpecification" | ||
implementation ":WeaverInterface" | ||
|
||
|
||
implementation group: 'commons-cli', name: 'commons-cli', version: '1.3.1' | ||
implementation group: 'commons-io', name: 'commons-io', version: '2.4' | ||
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.5' | ||
implementation group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.1' | ||
} | ||
|
||
java { | ||
withSourcesJar() | ||
} | ||
|
||
// Project sources | ||
sourceSets { | ||
main { | ||
java { | ||
srcDir 'src' | ||
} | ||
|
||
resources { | ||
srcDir 'resources' | ||
} | ||
} | ||
|
||
|
||
test { | ||
java { | ||
srcDir 'test' | ||
} | ||
|
||
resources { | ||
srcDir 'resources' | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
rootProject.name = 'LARAC' | ||
|
||
includeBuild("../../specs-java-libs/CommonsCompressPlus") | ||
includeBuild("../../specs-java-libs/CommonsLangPlus") | ||
includeBuild("../../specs-java-libs/SpecsUtils") | ||
includeBuild("../../specs-java-libs/tdrcLibrary") | ||
|
||
includeBuild("../../lara-framework/LanguageSpecification") | ||
includeBuild("../../lara-framework/LaraUtils") | ||
includeBuild("../../lara-framework/WeaverInterface") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
plugins { | ||
id 'distribution' | ||
} | ||
|
||
// Java project | ||
apply plugin: 'java' | ||
|
||
java { | ||
sourceCompatibility = JavaVersion.VERSION_11 | ||
targetCompatibility = JavaVersion.VERSION_11 | ||
} | ||
|
||
|
||
// Repositories providers | ||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
implementation "junit:junit:4.11" | ||
|
||
implementation ':CommonsLangPlus' | ||
implementation ':GitPlus' | ||
implementation ':jOptions' | ||
implementation ':JsEngine' | ||
implementation ':SpecsUtils' | ||
implementation ':tdrcLibrary' | ||
|
||
implementation ':LanguageSpecification' | ||
implementation ':LaraApi' | ||
implementation ':LARAC' | ||
implementation ':LaraCommonLanguage' | ||
implementation ':LaraLoc' | ||
implementation ':LaraUtils' | ||
implementation ':WeaverInterface' | ||
|
||
|
||
implementation group: 'commons-cli', name: 'commons-cli', version: '1.3.1' | ||
implementation group: 'org.apache.commons', name: 'commons-exec', version: '1.3' | ||
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.5' | ||
implementation group: 'com.google.code.gson', name: 'gson', version: '2.4' | ||
implementation group: 'com.google.guava', name: 'guava', version: '19.0' | ||
implementation group: 'com.fifesoft', name: 'rsyntaxtextarea', version: '2.5.8' | ||
implementation group: 'com.fifesoft', name: 'autocomplete', version: '2.5.8' | ||
implementation group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.1' | ||
} | ||
|
||
java { | ||
withSourcesJar() | ||
} | ||
|
||
// Project sources | ||
sourceSets { | ||
main { | ||
java { | ||
srcDir 'src' | ||
} | ||
|
||
resources { | ||
srcDir 'src' | ||
srcDir 'src-lara' | ||
srcDir 'resources' | ||
} | ||
} | ||
|
||
test { | ||
java { | ||
srcDir 'test' | ||
} | ||
|
||
resources { | ||
srcDir 'src' | ||
srcDir 'src-lara' | ||
srcDir 'resources' | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
rootProject.name = 'LARAI' | ||
|
||
includeBuild("../../specs-java-libs/CommonsLangPlus") | ||
includeBuild("../../specs-java-libs/GitPlus") | ||
includeBuild("../../specs-java-libs/jOptions") | ||
includeBuild("../../specs-java-libs/JsEngine") | ||
includeBuild("../../specs-java-libs/SpecsUtils") | ||
includeBuild("../../specs-java-libs/tdrcLibrary") | ||
|
||
includeBuild("../../lara-framework/LanguageSpecification") | ||
includeBuild("../../lara-framework/LaraApi") | ||
includeBuild("../../lara-framework/LARAC") | ||
includeBuild("../../lara-framework/LaraCommonLanguage") | ||
includeBuild("../../lara-framework/LaraLoc") | ||
includeBuild("../../lara-framework/LaraUtils") | ||
includeBuild("../../lara-framework/WeaverInterface") |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
plugins { | ||
id 'distribution' | ||
} | ||
|
||
// Java project | ||
apply plugin: 'java' | ||
|
||
java { | ||
sourceCompatibility = JavaVersion.VERSION_11 | ||
targetCompatibility = JavaVersion.VERSION_11 | ||
} | ||
|
||
|
||
// Repositories providers | ||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
implementation "junit:junit:4.11" | ||
|
||
implementation ':SpecsUtils' | ||
implementation ':tdrcLibrary' | ||
implementation ':LaraUtils' | ||
|
||
|
||
implementation group: 'org.antlr', name: 'antlr4', version: '4.5.2-1' | ||
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.4' | ||
implementation group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.1' | ||
implementation group: 'com.sun.xml.bind', name: 'jaxb-impl', version: '2.3.1' | ||
implementation group: 'org.glassfish.jaxb', name: 'jaxb-runtime', version: '2.3.1' | ||
implementation group: 'javax.activation', name: 'activation', version: '1.1.1' | ||
} | ||
|
||
java { | ||
withSourcesJar() | ||
} | ||
|
||
// Project sources | ||
sourceSets { | ||
main { | ||
java { | ||
srcDir 'src' | ||
srcDir 'test' // TODO: There is a dependency in WeaverGenerator to classes in this folder | ||
} | ||
|
||
resources { | ||
srcDir 'resources' | ||
} | ||
} | ||
|
||
|
||
test { | ||
java { | ||
srcDir 'test' | ||
} | ||
|
||
resources { | ||
srcDir 'resources' | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
rootProject.name = 'LanguageSpecification' | ||
|
||
includeBuild("../../specs-java-libs/SpecsUtils") | ||
includeBuild("../../specs-java-libs/tdrcLibrary") | ||
|
||
includeBuild("../../lara-framework/LaraUtils") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
plugins { | ||
id 'distribution' | ||
} | ||
|
||
// Java project | ||
apply plugin: 'java' | ||
|
||
java { | ||
sourceCompatibility = JavaVersion.VERSION_11 | ||
targetCompatibility = JavaVersion.VERSION_11 | ||
} | ||
|
||
|
||
// Repositories providers | ||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
testImplementation "junit:junit:4.11" | ||
|
||
implementation ':SpecsUtils' | ||
implementation ':CommonsLangPlus' | ||
implementation ':Gprofer' | ||
implementation ':XStreamPlus' | ||
implementation ':LaraUtils' | ||
|
||
implementation group: 'io.github.java-diff-utils', name: 'java-diff-utils', version: '4.7' | ||
|
||
|
||
} | ||
|
||
java { | ||
withSourcesJar() | ||
} | ||
|
||
|
||
// Project sources | ||
sourceSets { | ||
main { | ||
java { | ||
srcDir 'src-java' | ||
} | ||
|
||
resources { | ||
srcDir 'src-lara' | ||
srcDir 'src-lara-base' | ||
srcDir 'src-js' | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
rootProject.name = 'LaraApi' | ||
|
||
includeBuild("../../specs-java-libs/SpecsUtils") | ||
includeBuild("../../specs-java-libs/CommonsLangPlus") | ||
includeBuild("../../specs-java-libs/Gprofer") | ||
includeBuild("../../specs-java-libs/XStreamPlus") | ||
includeBuild("../../lara-framework/LaraUtils") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.