Stephane Nicoll
42c106b6e9
Review build abstraction Javadoc
2019-10-03 15:33:39 +02:00
Stephane Nicoll
e0b274c383
Review Gradle build Javadoc
2019-10-03 15:33:05 +02:00
Stephane Nicoll
796b439dcc
Polish
2019-09-27 13:42:40 +02:00
Stephane Nicoll
252ee887f7
Polish
2019-09-27 12:52:25 +02:00
Stephane Nicoll
c89b399956
Disable @ProjectGenerationContext bean overriding by default
...
This commit extends ProjectGenerator so that the configuration of the
ProjectGenerationContext can be externalized if necessary. By default,
a context that does not allow bean overriding is provided.
Closes gh-999
2019-09-27 12:31:11 +02:00
Stephane Nicoll
26d44f26b9
Polish
2019-09-25 10:17:04 +02:00
Stephane Nicoll
88f986b7c1
Harmonize Maven build to use containers
...
Closes gh-996
2019-09-04 16:39:38 +02:00
Stephane Nicoll
04a78a94d6
Harmonize Gradle build to use containers
...
See gh-996
2019-09-04 15:47:45 +02:00
Stephane Nicoll
59f9092e2f
Move build properties to dedicated container
...
See gh-996
2019-09-04 15:47:10 +02:00
Stephane Nicoll
3f6c98173b
Move general build settings to immutable class
...
This commit moves the global build settings to an immutable
BuildSettings abstraction.
See gh-996
2019-09-03 10:10:22 +02:00
Stephane Nicoll
7d47786a8b
Improve SourceStructure to handle source and resource assets
2019-09-02 10:19:09 +02:00
Stephane Nicoll
595050258c
Move source file extension to Language abstraction
...
Closes gh-995
2019-08-31 09:07:06 +02:00
Stephane Nicoll
0b37199b3e
Polish
2019-08-25 04:41:44 +02:00
Stephane Nicoll
c36ae847fb
Harmonize ProjectDescription name
2019-08-25 03:17:25 +02:00
Stephane Nicoll
286e38888c
Migrate ProjectDescription to an interface
...
This commit migrates ProjectDescription to an interface with read-only
accessors and create a MutableProjectDescription implementation that can
be used for both purposes.
As a result, the type separation between ResolvedProjectDescription and
ProjectDescription is no longer necessary.
Closes gh-993
2019-08-25 03:03:57 +02:00
Stephane Nicoll
91656ba0f8
Polish
2019-08-23 15:06:36 +02:00
Stephane Nicoll
b711ac73c9
Polish "Add support for Maven resources"
...
See gh-967
2019-08-23 15:03:05 +02:00
Leonardo Ramos
df62424c0e
Add support for Maven resources
...
See gh-967
2019-08-23 13:58:11 +02:00
Stephane Nicoll
1082ac7bf7
Extract project generation test utility to dedicated module
...
This commit extracts various test utilities to a dedicated
initializr-generator-test module for easier consumption. The previous
test-jar are no longer published and a dependency to this new module
should be equivalent.
This commit also cleans various resources that were located in the wrong
place. In particular initializr-generator does not know anything about
metadata anymore.
Closes gh-988
2019-08-21 16:10:06 +02:00
Stephane Nicoll
dbd1198996
Rename SourceCodeStructure to SourceStructure
...
This commit generalizes the main and test structure so that it can be
used for more use cases.
2019-08-21 16:09:17 +02:00
Stephane Nicoll
19ed484dc3
Add SourceCodeStructure abstraction
...
Closes gh-987
2019-08-19 19:09:26 +02:00
Stephane Nicoll
976f290144
Harmonize logging test configuration
2019-08-18 14:35:51 +02:00
Stephane Nicoll
dee5467bd1
http -> https
2019-08-18 14:07:02 +02:00
Stephane Nicoll
f083e6e5cd
Make sure MavenBuildWriter uses https link wherever possible
2019-08-18 13:35:47 +02:00
Stephane Nicoll
ff6e26463b
Add Bill Of Materials
...
Closes gh-981
2019-08-15 07:53:46 +02:00
Stephane Nicoll
a3826cfaed
Polish "Add support for removing build plugins"
...
See gh-978
2019-08-13 20:30:07 +02:00
HaiTao Zhang
083213c904
Add support for removing build plugins
...
See gh-978
2019-08-13 17:47:36 +02:00
Stephane Nicoll
f33a661074
Be more defensive when extracting filename from URI
...
Closes gh-827
2019-08-12 13:52:34 +02:00
HaiTao Zhang
71364408fa
Rename versionRange attribute to compatibilityRange
...
See gh-968
2019-08-09 11:20:02 +02:00
Stephane Nicoll
98bdd29356
Guard compilation unit from null
attributes
...
Closes gh-975
2019-08-07 15:29:57 +02:00
Stephane Nicoll
5672806380
Handle dependency without scope
...
This commit updates BuildSystem writer implementations to handle a
dependency without scope rather than ignoring it. If a dependency has
no scope it is managed as it had DependencyScope.COMPILE.
Closes gh-972
2019-08-05 16:17:42 +02:00
Stephane Nicoll
65562e1e92
Polish
2019-08-05 14:16:42 +02:00
Stephane Nicoll
844c7ca004
Make DefaultProjectAssertGenerator more flexible
...
This commits adds a public constructor to take a ProjectDirectoryFactory
implementation to make it more obvious it is a required component. In
the absence of a configured factory, one is retrieved from the context
as before.
2019-08-05 13:39:24 +02:00
Stephane Nicoll
316751a57c
Consistently create project directory
...
Closes gh-971
2019-08-05 13:39:24 +02:00
Stephane Nicoll
c7093c6b51
Polish "Adding field declaration for code generation"
...
See gh-881
2019-07-25 16:34:57 +02:00
Matt Berteaux
e7d5f8ffaf
Adding field declaration for code generation
...
See gh-881
2019-07-25 13:54:02 +02:00
Stephane Nicoll
7800d50551
Polish "Clean root resource path if necessary"
...
See gh-964
2019-07-25 13:46:54 +02:00
Toon Geens
52872f9a72
Clean root resource path if necessary
...
See gh-964
2019-07-25 13:46:54 +02:00
Stephane Nicoll
7b18b15a5a
Polish "Write Gradle plugin repositories section only if necessary"
...
See gh-880
2019-07-25 11:39:10 +02:00
abdelghani.roussi
afd96dcdf5
Write Gradle plugin repositories section only if necessary
...
See gh-880
2019-07-25 11:38:19 +02:00
Stephane Nicoll
449b22403a
Upgrade to spring-javaformat 0.0.15
...
Closes gh-949
2019-07-10 14:57:35 +02:00
Rodrigo Graciano
c5bc699459
Fix error message when a version could not be parsed
...
See gh-948
2019-07-10 08:44:36 +02:00
Andy Wilkinson
d38463c4e7
Fix references to built-in configurations with Gradle Kotlin DSL
...
Closes gh-917
2019-06-27 20:42:12 +01:00
Stephane Nicoll
2f50cf1c8f
Format source code
...
Closes gh-923
2019-06-12 14:46:53 +02:00
Andy Wilkinson
50160d4931
Polish "Allow adding <extensions>true</extensions> to plugin config"
...
See gh-921
2019-06-10 14:13:46 +01:00
Olga Maciaszek-Sharma
3e86a446a8
Allow adding <extensions>true</extensions> to plugin config
...
See gh-921
2019-06-10 14:13:37 +01:00
Andy Wilkinson
04b2777b32
Correct Kotlin DSL syntax for adding and customizing configurations
...
Fixes gh-917
2019-06-06 09:51:20 +01:00
Stephane Nicoll
ce150380c2
Polish method name
2019-05-31 12:13:59 +02:00
Stephane Nicoll
e063405b92
Allow to initialize a dependency builder from an existing dependency
2019-05-31 11:19:37 +02:00
Stephane Nicoll
31b60a6955
Model custom configuration for a Gradle dependency
...
Closes gh-850
2019-05-31 11:19:30 +02:00