diff --git a/AntarexClavaApi/build.gradle b/AntarexClavaApi/build.gradle new file mode 100644 index 000000000..1718108be --- /dev/null +++ b/AntarexClavaApi/build.gradle @@ -0,0 +1,43 @@ +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 ':LaraUtils' +} + +java { + withSourcesJar() +} + + +// Project sources +sourceSets { + main { + java { + srcDir 'src-java' + } + + resources { + srcDir 'src-lara' + srcDir 'src-js' + } + } + +} diff --git a/AntarexClavaApi/settings.gradle b/AntarexClavaApi/settings.gradle new file mode 100644 index 000000000..aee328384 --- /dev/null +++ b/AntarexClavaApi/settings.gradle @@ -0,0 +1,5 @@ +rootProject.name = 'AntarexClavaApi' + +includeBuild("../../specs-java-libs/SpecsUtils") + +includeBuild("../../lara-framework/LaraUtils") diff --git a/ClangAstParser/.classpath b/ClangAstParser/.classpath index afc08f270..31b2b52d8 100644 --- a/ClangAstParser/.classpath +++ b/ClangAstParser/.classpath @@ -1,6 +1,7 @@ + diff --git a/ClangAstParser/build.gradle b/ClangAstParser/build.gradle index 49a863db6..de1f44aed 100644 --- a/ClangAstParser/build.gradle +++ b/ClangAstParser/build.gradle @@ -17,7 +17,7 @@ repositories { } dependencies { - testImplementation "junit:junit:4.11" + implementation "junit:junit:4.11" implementation ":ClavaAst" implementation ":CommonsLangPlus" @@ -36,6 +36,7 @@ sourceSets { main { java { srcDir 'src' + srcDir 'test' } resources { diff --git a/ClangAstParser/test/eu/antarex/clang/parser/tests/ClangCTester.java b/ClangAstParser/test-experimental/eu/antarex/clang/parser/tests/ClangCTester.java similarity index 100% rename from ClangAstParser/test/eu/antarex/clang/parser/tests/ClangCTester.java rename to ClangAstParser/test-experimental/eu/antarex/clang/parser/tests/ClangCTester.java diff --git a/ClangAstParser/test/eu/antarex/clang/parser/tests/ClangCxxTester.java b/ClangAstParser/test-experimental/eu/antarex/clang/parser/tests/ClangCxxTester.java similarity index 100% rename from ClangAstParser/test/eu/antarex/clang/parser/tests/ClangCxxTester.java rename to ClangAstParser/test-experimental/eu/antarex/clang/parser/tests/ClangCxxTester.java diff --git a/ClangAstParser/test/eu/antarex/clang/parser/tests/CxxProblematicTester.java b/ClangAstParser/test-experimental/eu/antarex/clang/parser/tests/CxxProblematicTester.java similarity index 100% rename from ClangAstParser/test/eu/antarex/clang/parser/tests/CxxProblematicTester.java rename to ClangAstParser/test-experimental/eu/antarex/clang/parser/tests/CxxProblematicTester.java diff --git a/ClavaHls/build.gradle b/ClavaHls/build.gradle new file mode 100644 index 000000000..b5ba18d22 --- /dev/null +++ b/ClavaHls/build.gradle @@ -0,0 +1,44 @@ +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 ':GitPlus' + implementation ':GsonPlus' + implementation ':jOptions' + implementation ':tdrcLibrary' + implementation ':ClavaAst' + +} + +java { + withSourcesJar() +} + + +// Project sources +sourceSets { + main { + java { + srcDir 'src' + } + + } + +} diff --git a/ClavaHls/settings.gradle b/ClavaHls/settings.gradle new file mode 100644 index 000000000..47137a75f --- /dev/null +++ b/ClavaHls/settings.gradle @@ -0,0 +1,9 @@ +rootProject.name = 'ClavaHls' + +includeBuild("../../specs-java-libs/SpecsUtils") +includeBuild("../../specs-java-libs/GitPlus") +includeBuild("../../specs-java-libs/GsonPlus") +includeBuild("../../specs-java-libs/jOptions") +includeBuild("../../specs-java-libs/tdrcLibrary") + +includeBuild("../../clava/ClavaAst") diff --git a/ClavaLaraApi/.classpath b/ClavaLaraApi/.classpath index 241a86233..e00b69757 100644 --- a/ClavaLaraApi/.classpath +++ b/ClavaLaraApi/.classpath @@ -9,12 +9,12 @@ - + diff --git a/ClavaLaraApi/build.gradle b/ClavaLaraApi/build.gradle new file mode 100644 index 000000000..c43a92ae9 --- /dev/null +++ b/ClavaLaraApi/build.gradle @@ -0,0 +1,51 @@ +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 ':JacksonPlus' + implementation ':LaraApi' + implementation ':LaraUtils' + implementation ':ClavaAst' + + implementation group: 'com.google.code.gson', name: 'gson', version: '2.4' +} + +java { + withSourcesJar() +} + + +// Project sources +sourceSets { + main { + java { + srcDir 'src-java' + } + + resources { + srcDir 'src-lara' + srcDir 'src-lara-clava' + srcDir 'src-js' + } + + } +} diff --git a/ClavaLaraApi/settings.gradle b/ClavaLaraApi/settings.gradle new file mode 100644 index 000000000..1e1ac5170 --- /dev/null +++ b/ClavaLaraApi/settings.gradle @@ -0,0 +1,10 @@ +rootProject.name = 'ClavaLaraApi' + +includeBuild("../../specs-java-libs/CommonsLangPlus") +includeBuild("../../specs-java-libs/JacksonPlus") +includeBuild("../../specs-java-libs/SpecsUtils") + +includeBuild("../../lara-framework/LaraApi") +includeBuild("../../lara-framework/LaraUtils") + +includeBuild("../../clava/ClavaAst") \ No newline at end of file diff --git a/ClavaWeaver/.classpath b/ClavaWeaver/.classpath index 7d10d1153..b82a65e56 100644 --- a/ClavaWeaver/.classpath +++ b/ClavaWeaver/.classpath @@ -9,6 +9,9 @@ + + + @@ -18,7 +21,6 @@ - @@ -29,6 +31,7 @@ - + + diff --git a/ClavaWeaver/build.gradle b/ClavaWeaver/build.gradle new file mode 100644 index 000000000..e1269cc90 --- /dev/null +++ b/ClavaWeaver/build.gradle @@ -0,0 +1,84 @@ +plugins { + id 'distribution' +} + +// Java project +apply plugin: 'java' + +java { + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 +} + + +// Repositories providers +repositories { + // Gearman + maven { url "https://oss.sonatype.org/content/repositories/snapshots"} + + mavenCentral() +} + +dependencies { + implementation "junit:junit:4.12" + + + implementation ":CommonsLangPlus" + implementation ":GsonPlus" + implementation ":jOptions" + implementation ":JsEngine" + implementation ":SpecsUtils" + implementation ":XStreamPlus" + implementation ":tdrcLibrary" + + implementation ":LanguageSpecification" + implementation ":LaraCommonLanguageApi" + implementation ":LaraDoc" + implementation ":LaraExtraApi" + implementation ":LaraFramework" + implementation ":LARAI" + implementation ":LaraLoc" + implementation ":LaraUnit" + implementation ":LaraUtils" + implementation ":WeaverGenerator" + implementation ":WeaverInterface" + + implementation ":AntarexClavaApi" + implementation ":ClangAstParser" + implementation ":ClavaAst" + implementation ":ClavaHls" + implementation ":ClavaLaraApi" + + implementation group: 'com.google.guava', name: 'guava', version: '19.0' + implementation group: 'com.google.code.gson', name: 'gson', version: '2.4' +} + +java { + withSourcesJar() +} + +// Project sources +sourceSets { + main { + java { + srcDir 'src' + srcDir 'test' + } + + resources { + srcDir 'resources' + } + } + + + test { + java { + srcDir 'test' + } + + resources { + srcDir 'resources' + } + } + +} diff --git a/ClavaWeaver/ivy.xml b/ClavaWeaver/ivy.xml index 1a3a62e3e..ed77c51b1 100644 --- a/ClavaWeaver/ivy.xml +++ b/ClavaWeaver/ivy.xml @@ -26,6 +26,7 @@ + diff --git a/ClavaWeaver/settings.gradle b/ClavaWeaver/settings.gradle new file mode 100644 index 000000000..e3802e190 --- /dev/null +++ b/ClavaWeaver/settings.gradle @@ -0,0 +1,27 @@ +rootProject.name = 'ClavaWeaver' + +includeBuild("../../specs-java-libs/CommonsLangPlus") +includeBuild("../../specs-java-libs/GsonPlus") +includeBuild("../../specs-java-libs/jOptions") +includeBuild("../../specs-java-libs/JsEngine") +includeBuild("../../specs-java-libs/SpecsUtils") +includeBuild("../../specs-java-libs/XStreamPlus") +includeBuild("../../specs-java-libs/tdrcLibrary") + +includeBuild("../../lara-framework/LanguageSpecification") +includeBuild("../../lara-framework/LaraCommonLanguageApi") +includeBuild("../../lara-framework/LaraDoc") +includeBuild("../../lara-framework/LaraExtraApi") +includeBuild("../../lara-framework/LaraFramework") +includeBuild("../../lara-framework/LARAI") +includeBuild("../../lara-framework/LaraLoc") +includeBuild("../../lara-framework/LaraUnit") +includeBuild("../../lara-framework/LaraUtils") +includeBuild("../../lara-framework/WeaverGenerator") +includeBuild("../../lara-framework/WeaverInterface") + +includeBuild("../../clava/AntarexClavaApi") +includeBuild("../../clava/ClangAstParser") +includeBuild("../../clava/ClavaAst") +includeBuild("../../clava/ClavaHls") +includeBuild("../../clava/ClavaLaraApi") \ No newline at end of file