You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by dp...@apache.org on 2019/03/01 13:40:54 UTC

[ignite] branch ignite-11461-java11 updated (1605e0e -> 6b1ad56)

This is an automated email from the ASF dual-hosted git repository.

dpavlov pushed a change to branch ignite-11461-java11
in repository https://gitbox.apache.org/repos/asf/ignite.git.


    from 1605e0e  IGNITE-11461: Automatic modules support for Apache Ignite: locally executed test
     new 9eee997  IGNITE-11461: Automatic modules support for Apache Ignite: compiled using gradle
     new 6b1ad56  IGNITE-11461: Automatic modules support for Apache Ignite: test started using gradle

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 modules/dev-utils/ignite-modules-test/build.gradle | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)


[ignite] 01/02: IGNITE-11461: Automatic modules support for Apache Ignite: compiled using gradle

Posted by dp...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dpavlov pushed a commit to branch ignite-11461-java11
in repository https://gitbox.apache.org/repos/asf/ignite.git

commit 9eee9972dab0acc57246cdaca00af63bf1168466
Author: Dmitriy Pavlov <dp...@apache.org>
AuthorDate: Fri Mar 1 15:50:22 2019 +0300

    IGNITE-11461: Automatic modules support for Apache Ignite: compiled using gradle
---
 modules/dev-utils/ignite-modules-test/build.gradle | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/modules/dev-utils/ignite-modules-test/build.gradle b/modules/dev-utils/ignite-modules-test/build.gradle
index 6ca7147..37464de 100644
--- a/modules/dev-utils/ignite-modules-test/build.gradle
+++ b/modules/dev-utils/ignite-modules-test/build.gradle
@@ -30,13 +30,26 @@ ext {
     ignVer = '2.7.0'
 }
 
-ext.moduleName = 'org.apache.ignite.ignite_modules_test'
+ext.moduleName = 'ignite_modules_test'
 
 compileJava {
     inputs.property("moduleName", moduleName)
     doFirst {
         options.compilerArgs = [
             '--module-path', classpath.asPath,
+        ];
+        classpath = files();
+    }
+}
+
+compileTestJava {
+    inputs.property("moduleName", moduleName)
+    doFirst {
+        options.compilerArgs = [
+            '--module-path', classpath.asPath,
+            '--add-modules', 'junit',
+            '--add-reads', "$moduleName=junit",
+            '--patch-module', "$moduleName=" + files(sourceSets.test.java.srcDirs).asPath,
         ]
         classpath = files()
     }


[ignite] 02/02: IGNITE-11461: Automatic modules support for Apache Ignite: test started using gradle

Posted by dp...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dpavlov pushed a commit to branch ignite-11461-java11
in repository https://gitbox.apache.org/repos/asf/ignite.git

commit 6b1ad560ddf8cc958c26b0bae83e956765bb6908
Author: Dmitriy Pavlov <dp...@apache.org>
AuthorDate: Fri Mar 1 16:40:40 2019 +0300

    IGNITE-11461: Automatic modules support for Apache Ignite: test started using gradle
---
 modules/dev-utils/ignite-modules-test/build.gradle | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/modules/dev-utils/ignite-modules-test/build.gradle b/modules/dev-utils/ignite-modules-test/build.gradle
index 37464de..661b593 100644
--- a/modules/dev-utils/ignite-modules-test/build.gradle
+++ b/modules/dev-utils/ignite-modules-test/build.gradle
@@ -75,4 +75,9 @@ test {
         "--add-exports=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED",
         "--illegal-access=permit",
         "-Djdk.tls.client.protocols=TLSv1.2");
+}
+
+tasks.withType(Test) {
+    scanForTestClasses = false
+    include "**/*Test.class" // whatever Ant pattern matches your test class files
 }
\ No newline at end of file