237 Commits

Author SHA1 Message Date
SR-Lut3t1um
9a8efdad51 updated gradle to 6.2
fixed missing change of gradle version on pom.xml

fixed evertything

fixed evertything
2020-02-20 23:43:10 +01:00
Martin Kouba
3ee52f2df1 Introduce basic-test-suite profile
- to skip some parts of the test suite during the full build
- integration tests: maven tooling, kotlin, scala, kubernetes, gradle
2020-02-19 16:12:41 +01:00
George Gastaldi
9df37a6c4c Merge pull request #7237 from gastaldi/jar_resolver
Ignore resolved dependencies that are not JARs or directories
2020-02-18 06:11:58 -03:00
George Gastaldi
0649ed54ab Ignore resolved dependencies that are not JARs or directories
Fixes #7234
2020-02-17 17:12:54 -03:00
George Gastaldi
7365420033 Artifacts may not contain the version
Fixes #7217
2020-02-17 15:30:50 -03:00
Jesper Skov
d76978ad9e Configure all Test tasks properly (#3552)
Also configure test tasks that are created (in the build file, or
in other plugins) after the quarkus plugin is applied.
2020-02-11 17:53:42 +01:00
George Gastaldi
d7957dfc00 Merge pull request #7071 from aloubyansky/7038
QuarkusDev should be serializing the AppModel in the same manner as QuarkusTestConfig
2020-02-07 23:59:44 -03:00
George Gastaldi
b4e5483c48 Set the AppArtifact in the Gradle plugin
Fixes #7077
2020-02-07 12:22:41 -03:00
Alexey Loubyansky
db03f4c06a QuarkusDev should be serializing the AppModel in the same manner as the QuarkusTestConfig, i.e. in a temp file and passing its path using quarkus-internal.serialized-app-model.path 2020-02-07 14:24:38 +01:00
Manyanda Chitimbo
b3f121f11c Merge pull request #7011 from andreas-eberle/native-builder-image-gradle-parameter
Allow specifying quarkus.native.builder-image via gradle plugin parameter native-builder-image.
2020-02-05 20:45:37 +01:00
Andreas Eberle
17a161d081 Allow specifying quarkus.native.builder-image via gradle plugin parameter native-builder-image. 2020-02-05 17:01:13 +01:00
Alexey Loubyansky
e83e6ab980 Gradle plugin: include the test dependencies into the resolved application model when launching in test mode 2020-02-05 12:10:43 +01:00
Alexey Loubyansky
5f14689194 Gradle plugin: move serialized app model out of the test classes dir to avoid it being removed as 'stale content' before the tests are executed 2020-02-05 12:10:42 +01:00
Guillaume Smet
b61f69d27b Merge pull request #6792 from gwenneg/issue-6709-drop-graalvm-19.2.1-compatibility
Drop GraalVM 19.2.1 support and deprecate enableJni option
2020-01-29 11:53:32 +01:00
Stuart Douglas
b289d2655e Handle multiple output directories in Kotlin projects
Fixes #6561
2020-01-28 16:45:31 +11:00
Gwenneg Lepage
4c193ae8d3 Drop GraalVM 19.2.1 support and deprecate enableJni option 2020-01-27 18:27:11 +01:00
Stuart Douglas
b67491c1ff The big ClassLoader change
This changes the way Quarkus ClassLoading works,
to allow for isolated class loaders.

It also unifies how Quarkus is launched, so every
different mode we support uses the same mechanism
for both curation and launch.

Tests are now run in an isolated ClassLoader, which
means that a proxy is created that runs the tests
from within the isolated ClassLoader. This currently
has a quirk where @BeforeAll methods are run twice,
which will be fixed in the next JUnit release. This
can be worked around by using @QuarkusBeforeAll.
2020-01-22 13:30:44 +01:00
Gwenneg Lepage
dea977da7c Disable JNI by default with GraalVM 19.2.1 2020-01-16 21:02:44 +01:00
George Gastaldi
e5e6e1e7d6 Do not assume non-existent source dirs as working and source dir
Fixes #6485
2020-01-10 19:13:26 -03:00
George Gastaldi
09cd3fa338 graalVmHome should be optional in gradle buildNative 2020-01-10 09:18:11 -03:00
Tobias
b27ebf41a7 This fixes issue #6442 that project dependencies end up twice on the quarkusDev classpath 2020-01-08 23:34:07 +08:00
George Gastaldi
016578745e Using constants in Gradle tests 2019-12-30 09:44:26 -03:00
George Gastaldi
e9661e70a9 Set className and path to trigger sample code generation 2019-12-23 00:44:03 -03:00
George Gastaldi
ab30881577 Revert "Disabling Scala gradle build test for now"
This reverts commit b3ea880dab.
2019-12-23 00:44:03 -03:00
George Gastaldi
7b07d866e5 Fixes Illegal char error in Gradle plugin 2019-12-23 00:44:03 -03:00
George Gastaldi
b3ea880dab Disabling Scala gradle build test for now 2019-12-22 12:29:50 -03:00
George Gastaldi
9818101178 Show stacktrace when building the gradle plugin 2019-12-22 11:57:10 -03:00
George Gastaldi
6594baad0e Added back methods mistakenly considered unused in QuarkusPluginExtension
These methods were removed in 3265edd082 because they were considered unused but they are used in the Kotlin Gradle build.
Added tests for all SourceTypes now

Fixes #6311
2019-12-22 09:54:37 -03:00
George Gastaldi
15de0e7764 Add README.md for the Gradle plugin
Fixes #5804

Co-Authored-By: Guillaume Smet <guillaume.smet@gmail.com>
2019-12-20 15:41:40 -03:00
George Gastaldi
4445ed7b47 Minor cleanup in Gradle plugin
Using constants and avoiding casts
2019-12-18 10:55:26 -03:00
George Gastaldi
366cf8f388 Move Launching JVM log to debug level
Fixes #6183
2019-12-15 20:55:45 -03:00
George Gastaldi
58b73d3b7d Shutdown ExecutorService after using it 2019-12-10 10:17:36 -03:00
George Gastaldi
dc52545b4e Show command line in 'gradle quarkusDev' in one line 2019-12-10 10:17:36 -03:00
Guillaume Smet
bdc84e581a Merge pull request #5985 from gastaldi/gradle_native
Running gradle build no longer triggers a native build
2019-12-07 15:42:32 +01:00
George Gastaldi
91ca4adb5f Merge pull request #5986 from gastaldi/gradle
Avoid using MAVEN_OPTS as a command line argument
2019-12-06 18:55:16 -03:00
George Gastaldi
b325c3d7ed Do not use MAVEN_OPTS while building the gradle project 2019-12-06 15:12:02 -03:00
George Gastaldi
bda52a255c Running gradle build no longer triggers a native build 2019-12-06 14:32:31 -03:00
Jaikiran Pai
9e4729fc0b issue-3592 Make sure the dev mode jar generated through Gradle doesn't run into issues related to "Class-Path" attribute parsing in the Manifest file of the jar 2019-12-06 19:55:32 +05:30
George Gastaldi
0c7521c67e Merge pull request #5761 from gastaldi/gradle_test
Improvements to Gradle plugin build and enable gradle testing again
2019-12-06 08:55:01 -03:00
George Gastaldi
57a7c0e9ab Fix testNative classpath 2019-12-05 13:10:26 -03:00
George Gastaldi
7c449b0e6a Gradle 5.x is still supported 2019-12-05 09:17:18 -03:00
George Gastaldi
fd957539d6 Add maven.repo.local if that exists 2019-12-04 14:07:17 -03:00
George Gastaldi
c7f1377eec Publish gradle builds when build fails for debugging purposes 2019-12-04 14:07:17 -03:00
George Gastaldi
9fb66d19e2 Remove author tags 2019-12-04 14:07:17 -03:00
George Gastaldi
390a25a766 Fixes test execution 2019-12-04 14:07:17 -03:00
George Gastaldi
b8ad6d68ba Remove GradleDependencyArtifact and QuarkusExtDependency 2019-12-04 14:07:17 -03:00
George Gastaldi
d0e61298ee Add more Gradle tests 2019-12-04 14:07:16 -03:00
George Gastaldi
0c83359916 Fix buildNative not being called in gradle build 2019-12-04 14:07:16 -03:00
George Gastaldi
44b58bbc81 Installing plugin in maven local repo 2019-12-04 14:07:16 -03:00
George Gastaldi
57681941db Updated Gradle templates to match plugins DSL 2019-12-04 14:07:16 -03:00