-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Multi sourceset amps #10
Merged
Merged
Conversation
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
… for test sourcesets
…n specified explicitly
…mps configured, but always configure the main sourceset with alfrescoProvided
…cause convention objects do not seem to work properly here
* Make libs, licenses a ConfigurableFileCollection * Make moduleProperties, fileMappingProperties a RegularFileProperty * Add deBundles property and deprecate de() copyspec
…o file is present
* eu.xenit.gradle.alfrescosdk.deprecation=false to disable deprecations * eu.xenit.gradle.alfrescosdk.deprecation.stacktrace to force enable/disable stacktraces for deprecations (default shows stacktraces when running in INFO mode) * eu.xenit.gradle.alfrescosdk.deprecation.warnAlways to warn on every occurence of a deprecation warning (default is to only show the first warning) When stacktraces are enabled, all warnings are always shown.
thijslemmens
approved these changes
Apr 18, 2019
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Amp
task type to be more flexible:config
andweb
aCopySpec
instead of aFile
pointing to the root directory to copy. This fixes Support configuring Amp task file properties with CopySpec #8licenses
,libs
anddeLibs
aConfigurableFileCollection
so items can easily be added and removed from the collection without having to manipulate the list directly.ampConfig
configuration block, move configurations tosourceSets
. ExamplesourceSets
is used by thejava
plugin to create multiple, (partially or fully) independent source trees. These are usually packaged in separate jars as well. Now, let's add anamp
configuration to each sourceset that takes thejar
that is created and puts it inside anamp
. As with source sets as used by thejava
plugin, configurations and tasks are fully independent and prefixed with the sourceset name when it is not themain
sourceset. Theeu.xenit.amp
plugin configures anamp
for themain
sourceset by default.module.properties
file exists, automatically generate amodule.properties
file based on the project configuration.module.properties
orfile-mapping.properties
file directly from yourbuild.gradle
All old properties on
Amp
andampConfig
are still available and configure the new properties and configuration when they are used. Linking forampConfig
is provided by and isolated in aLegacyAmpPlugin
that can be disabled later.Using deprecated properties or configuration logs a warning. A stacktrace to the usage of a deprecated function is added to the warning when running gradle with
--info
.