Harald Reinmueller (FG-4-I-1)
efa9a63656
run with non-root user 1001
2020-02-07 10:46:08 +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
0330735059
Merge pull request #6973 from gsmet/prepare-for-jakarta
...
Also ignore the upcoming Jakarta classes
2020-02-05 11:17:18 +01:00
Guillaume Smet
4860f7fc4a
Also ignore the upcoming Jakarta classes
...
I was working on moving Bean Validation to a "jakarta." package and
stumbled upon this one. Let's prepare for it because there's a good
chance we will miss that one.
2020-02-03 16:47:34 +01:00
Stuart Douglas
c146b7e536
Always compile quarkus:dev
2020-02-03 13:15:53 +02:00
Georgios Andrianakis
79f169aae5
Ensure that quarkus:dev works with yet to be compiled Kotlin project
...
Fixes : #6931
2020-02-03 11:02:01 +02:00
Rostislav Svoboda
7cfb0d9ef1
CreateProjectMojo - validate className
2020-02-01 18:10:46 +01:00
George Gastaldi
06903705c5
Merge pull request #6894 from gastaldi/plugin
...
Reuse compiler configuration in quarkus:dev
2020-01-30 18:44:53 -03:00
George Gastaldi
3d11cbd00e
Reuse compiler configuration in quarkus:dev
...
Fixes #6881
2020-01-30 17:02:34 -03:00
Alexey Loubyansky
4d99b2e523
Make sure the generated extension project can be actually be built, support creating an extension project in an empty dir with a single command, e.g. mvn io.quarkus:quarkus-maven-plugin:999-SNAPSHOT:create-extension -DgroupId=org.acme -DartifactId=my-ext -Dversion=1.0-SNAPSHOT
2020-01-30 10:14:00 +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
41a238ba12
Limit memory usage in tests
...
Tests can have lots of processes running at once,
if they all default to 75% of physical memory
we can run out, as processes can continue to allocate
instead of running GC
2020-01-29 14:03:15 +11: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
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