=pro #16704 add validatePullRequest task to samples

* move validatePullRequest to separate autoplugin
* move MiMa settings to separate autoplugin
This commit is contained in:
Martynas Mickevičius 2015-01-22 20:26:34 +02:00
parent 0b50d650f1
commit d29c978871
5 changed files with 75 additions and 44 deletions

View file

@ -61,9 +61,11 @@ object Sample {
* transformed sample projects should have its settings added here.
*/
private val enableAutoPlugins = (project: Project) =>
project.settings(
Publish.projectSettings: _*
)
project.settings((
MiMa.projectSettings ++
Publish.projectSettings ++
ValidatePullRequest.projectSettings
): _*)
private implicit class RichLoadedDefinitions(ld: LoadedDefinitions) {
def copy(projects: Seq[Project]) =