Commit Graph

728 Commits

Author SHA1 Message Date
Clement Escoffier
09066e1e95 Explicitly set the UBI version to 8.1 in the Dockerfile used for the native executable. 2020-01-14 08:01:05 +01:00
Clement Escoffier
d37fc67465 Use UBI in the JVM variant of the Dockerfile
I added a note (as a comment) about -XshowSettings:vm. So the user can enable it easily and check the amount of heap used by the application.
2020-01-14 07:59:53 +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
Georgios Andrianakis
6fde618dd1 Merge pull request #6455 from tobad357/bugfix/quarkusdev-project-dep
Fix for #6442 quarkusDev not working in multi module projects
2020-01-09 11:25:04 +02:00
Harald Reinmueller (FG-4-I-1)
977f466b64 Make native executable executable in Dockerfile 2020-01-08 22:54:26 +01: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
Guillaume Smet
f9be4d5172 Check that there is a pluginOptions child before iterating on it
Fixes #6428
2020-01-06 21:46:03 +01:00
Rostislav Svoboda
c9e6b58ed4 Typo fixes 2020-01-05 23:10:23 +01:00
Georgios Andrianakis
6aee06ba92 Make application version and name available as runtime properties
Fixes: #6255

Co-authored-by: Guillaume Smet <guillaume.smet@gmail.com>
2020-01-02 11:41:41 +02: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
8733d21b47 basic-rest/scala/build.gradle-template.ftl requires scala-library
Fixes #6316
2019-12-23 00:44:03 -03:00
George Gastaldi
54eb2f5413 Merge pull request #6312 from gastaldi/gradle_missing
Added back methods mistakenly considered unused in QuarkusPluginExtension
2019-12-22 15:33:23 -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
Georgios Andrianakis
868aa27a7e Merge pull request #6310 from geoand/#6041
Ensure that the Kotlin compiler adds method param names to bytecode
2019-12-22 14:59:16 +02: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
Georgios Andrianakis
8e06dad026 Ensure that the Kotlin compiler adds method param names to bytecode
We already do this for Java, so let's make it consistent for Kotlin too

Fixes: #6041
2019-12-22 13:17:49 +02:00
Georgios Andrianakis
1640cfa0fa Use same all-open configuration for generated Kotlin Maven projects as Gradle 2019-12-22 12:57:17 +02: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
Alexey Loubyansky
038f196493 Maven plugin's devmode doesn't take into account versions overridden through system properties or profiles 2019-12-13 18:34:32 +01: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
Georgios Andrianakis
42ac250009 Use more consistent way to resolve the Kotlin compiler plugins 2019-12-09 10:12:52 +02:00
Georgios Andrianakis
6d0a2359cc Properly pass Kotlin compiler plugin options to dev-mode
Fixes: #2811
2019-12-09 10:12:48 +02:00
Guillaume Smet
692a824f6f Merge pull request #6016 from gsmet/fix-create-project-error-message
Remove a duplicated space from project creation error message
2019-12-08 15:07:32 +01:00
Guillaume Smet
90b88e0125 Merge pull request #6002 from gunnarmorling/5950
#5950 Pulling up user creation in Dockerfile for layer caching
2019-12-08 12:41:51 +01:00
Guillaume Smet
2e7c51054c Remove a duplicated space from project creation error message 2019-12-08 12:34:51 +01:00
Gunnar Morling
9c94c629c6 #5950 Pulling up user creation in Dockerfile for layer caching
In case of rebuilding an image, the create user command would run again before, as it came after the more volatile commands for adding dependencies and runner.
2019-12-08 10:35:21 +01: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
Guillaume Smet
58ca8af1b5 Merge pull request #5988 from jaikiran/qk-3592-gradle
Fix "Class-Path" parsing issues in -dev.jar generated by Gradle
2019-12-06 20:28:38 +01: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
Georgios Andrianakis
a29f77f856 Add missing Spring Controller templates for Kotlin and Scala
Fixes: #5817
2019-12-06 14:21:41 +02:00
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
Gwenneg Lepage
0be78a6813 Merge pull request #5358 from gwenneg/issue-4218-upgrade-graalvm-to-19.3.0
Upgrade GraalVM to 19.3.0
2019-12-05 10:19:07 +01:00
Stuart Douglas
ef19daac56 Check if the user ran compile and otherwise run it for them
Fixes #5832
2019-12-04 19:21:39 +01: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