Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ gradlePlugin {
create("com.netflix.nebula.resolve") {
id = "com.netflix.nebula.resolve"
displayName = "Nebula Dependency Resolve Plugin"
description = "Used to trigger dependency resolution on all configurations of all projects"
description = "Nebula OSS Internal use ONLY"
implementationClass = "com.netflix.nebula.convention.ResolvePlugin"
tags.set(listOf("nebula"))
compatibility {
Expand All @@ -119,7 +119,7 @@ gradlePlugin {
create("com.netflix.nebula.locks") {
id = "com.netflix.nebula.locks"
displayName = "Nebula Dependency Locks Plugin"
description = "opinionated dependency locking for nebula projects"
description = "Nebula OSS Internal use ONLY"
implementationClass = "com.netflix.nebula.convention.DependencyLockingPlugin"
tags.set(listOf("nebula"))
compatibility {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ class NebulaPluginPlugin implements Plugin<Project> {
project.group = 'com.netflix.nebula'

project.afterEvaluate {
if(!project.pluginManager.hasPlugin("com.netflix.nebula.locks") &&
!project.pluginManager.hasPlugin("com.netflix.nebula.dependency-lock")){
if(!project.pluginManager.hasPlugin("com.netflix.nebula.locks")) {
Problem problem = problems.reporter.create(NebulaProblems.OSS_SETTINGS) {
it.details("locking convention is not found. using com.netflix.nebula.plugin-plugin without the oss.settings plugin is deprecated")
it.solution("apply the 'com.netflix.nebula.oss.settings' plugin in settings.gradle.kts")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ class NebulaSettingsPlugin : Plugin<Settings> {
}
settings.gradle.allprojects {
pluginManager.apply("com.netflix.nebula.resolve")
pluginManager.apply("com.netflix.nebula.dependency-lock")
// TODO discuss replacing OSS deplock plugin with internal convention plugin
// pluginManager.apply("com.netflix.nebula.locks")
pluginManager.apply("com.netflix.nebula.locks")
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,6 @@ class NebulaSettingsPluginTest {
properties {
buildCache(true)
configurationCache(true)

// will no longer be needed when we switch to internal convention plugin
property("systemProp.nebula.features.coreLockingSupport","true")
}
settings {
plugins {
Expand Down
Loading