Skip to content

Commit

Permalink
Enable all feature previews by default
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfs committed Nov 28, 2018
1 parent caa37b4 commit 9b9bd53
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions settings.gradle.kts
@@ -1,3 +1,5 @@
import org.gradle.api.internal.FeaturePreviews

/*
* Copyright 2010 the original author or authors.
*
Expand Down Expand Up @@ -170,3 +172,14 @@ pluginManagement {
}
}

val ignoredFeatures = setOf(
// we don't want to publish Gradle metadata to public repositories until the format is stable.
FeaturePreviews.Feature.GRADLE_METADATA
)

FeaturePreviews.Feature.values().forEach { feature ->
if (feature.isActive && !ignoredFeatures.contains(feature)) {
enableFeaturePreview(feature.name)
}
}

1 comment on commit 9b9bd53

@melix
Copy link
Contributor

@melix melix commented on 9b9bd53 Nov 29, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.