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

sk0x50 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git


The following commit(s) were added to refs/heads/main by this push:
     new 7d25ae46d5 IGNITE-18250 Marked integration test folder as test source 
root. Fixes #1389
7d25ae46d5 is described below

commit 7d25ae46d57450b6391d1bfc59d2e528fcc06ee6
Author: Mikhail <[email protected]>
AuthorDate: Wed Nov 30 11:20:15 2022 +0200

    IGNITE-18250 Marked integration test folder as test source root. Fixes #1389
    
    Signed-off-by: Slava Koptilin <[email protected]>
---
 build.gradle                              | 6 ++----
 buildscripts/java-integration-test.gradle | 9 +++++++++
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/build.gradle b/build.gradle
index c7c664d254..01d3c6cad2 100644
--- a/build.gradle
+++ b/build.gradle
@@ -18,6 +18,7 @@
 
 //This need for resolving plugins in buildscripts
 plugins {
+    id('idea')
     alias(libs.plugins.javacc) apply false
     alias(libs.plugins.modernizer) apply false
     alias(libs.plugins.aggregateJavadoc)
@@ -75,16 +76,13 @@ allprojects {
 
     tasks.withType(Javadoc) {
         options.tags = [ "apiNote" ]
+        options.addStringOption('bottom', javadocFooter())
     }
 
     tasks.withType(JavaCompile) {
         options.encoding = 'UTF-8'
     }
 
-    tasks.withType(Javadoc) {
-        options.addStringOption('bottom', javadocFooter())
-    }
-
     //Temporary hack to disable caching of Test tasks.
     //https://github.com/gradle/gradle/issues/9210
     tasks.withType(Test).configureEach {
diff --git a/buildscripts/java-integration-test.gradle 
b/buildscripts/java-integration-test.gradle
index 745aac23b3..1a0c9fbb40 100644
--- a/buildscripts/java-integration-test.gradle
+++ b/buildscripts/java-integration-test.gradle
@@ -15,6 +15,8 @@
  * limitations under the License.
  */
 
+apply plugin: 'idea'
+
 sourceSets {
     integrationTest {
         compileClasspath += sourceSets.main.output
@@ -28,6 +30,13 @@ sourceSets {
     }
 }
 
+idea {
+    module {
+        sourceDirs -= file('src/integrationTest/java')
+        testSourceDirs += file('src/integrationTest/java')
+    }
+}
+
 pmdIntegrationTest {
     enabled = false
 }

Reply via email to