forked from quarkusio/quarkus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request quarkusio#22868 from glefloch/fix/22807
Index classes using jandex plugin before starting devmode if configured
- Loading branch information
Showing
2 changed files
with
61 additions
and
6 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
21 changes: 21 additions & 0 deletions
21
integration-tests/gradle/src/test/java/io/quarkus/gradle/JandexMultiModuleTest.java
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,21 @@ | ||
package io.quarkus.gradle; | ||
|
||
import static org.assertj.core.api.Assertions.assertThat; | ||
|
||
import java.io.File; | ||
|
||
import org.junit.jupiter.api.Test; | ||
|
||
public class JandexMultiModuleTest extends QuarkusGradleWrapperTestBase { | ||
|
||
@Test | ||
public void testBasicMultiModuleBuild() throws Exception { | ||
|
||
final File projectDir = getProjectDir("jandex-basic-multi-module-project"); | ||
|
||
BuildResult build = runGradleWrapper(projectDir, "clean", ":application:quarkusBuild"); | ||
assertThat(build.getTasks().get(":common:jandex")).isEqualTo(BuildResult.SUCCESS_OUTCOME); | ||
assertThat(build.getTasks().get(":application:quarkusBuild")).isEqualTo(BuildResult.SUCCESS_OUTCOME); | ||
} | ||
|
||
} |