Skip to content

Commit

Permalink
Remove Incubating annotations on dependency notations
Browse files Browse the repository at this point in the history
They are not needed since we have a mechanism that lets us
remove them without breaking the builds.

Also updated the snippet in the docs.
  • Loading branch information
LouisCAD committed Oct 26, 2022
1 parent 42d0a13 commit 22784d7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Here is what a dependency notation should look like:
@file:Suppress("PackageDirectoryMismatch", "SpellCheckingInspection", "unused") // 1

import de.fayard.refreshVersions.core.DependencyGroup
import org.gradle.api.Incubating
import org.gradle.kotlin.dsl.IsNotADependency

/** // 2
Expand All @@ -20,7 +19,6 @@ import org.gradle.kotlin.dsl.IsNotADependency
* - GitHub page: [Kodein-Framework/Kodein-DI](https://github.com/Kodein-Framework/Kodein-DI)
* - [GitHub Releases here](https://github.com/Kodein-Framework/Kodein-DI/releases)
*/
@Incubating
object Kodein : IsNotADependency { // 3

val di = DI // 4
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
@file:Suppress("PackageDirectoryMismatch", "SpellCheckingInspection", "unused")

import de.fayard.refreshVersions.core.DependencyGroup
import org.gradle.api.Incubating
import org.gradle.kotlin.dsl.IsNotADependency

@Incubating
object JetBrains : IsNotADependency {

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
@file:Suppress("PackageDirectoryMismatch", "SpellCheckingInspection", "unused")

import de.fayard.refreshVersions.core.DependencyGroup
import org.gradle.api.Incubating
import org.gradle.kotlin.dsl.IsNotADependency

/**
Expand All @@ -10,7 +9,6 @@ import org.gradle.kotlin.dsl.IsNotADependency
* - GitHub page: [NativeCoroutines](https://github.com/rickclephas/KMP-NativeCoroutines)
* - [GitHub Releases here](https://github.com/rickclephas/KMP-NativeCoroutines/releases)
*/
@Incubating
object RickClephas : IsNotADependency {

val nativeCoroutines = NativeCoroutines
Expand Down

0 comments on commit 22784d7

Please sign in to comment.