Skip to content

Commit

Permalink
Remove redundant suppressions (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
3flex authored Jul 5, 2023
1 parent 4054958 commit 1de6fc4
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import org.gradle.kotlin.dsl.property
import java.time.Duration
import javax.inject.Inject

@Suppress("UnstableApiUsage")
abstract class AbstractNexusStagingRepositoryTask @Inject
constructor(objects: ObjectFactory, extension: NexusPublishExtension, repository: NexusRepository) : DefaultTask() {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import org.gradle.api.tasks.Internal
import org.gradle.api.tasks.TaskAction
import org.gradle.kotlin.dsl.property

@Suppress("UnstableApiUsage")
abstract class AbstractTransitionNexusStagingRepositoryTask(
objects: ObjectFactory,
extension: NexusPublishExtension,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import org.gradle.api.tasks.TaskAction
import org.gradle.kotlin.dsl.property
import javax.inject.Inject

@Suppress("UnstableApiUsage")
open class InitializeNexusStagingRepository @Inject constructor(
objects: ObjectFactory,
extension: NexusPublishExtension,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import org.gradle.kotlin.dsl.newInstance
import org.gradle.kotlin.dsl.property
import java.time.Duration

@Suppress("UnstableApiUsage")
open class NexusPublishExtension(project: Project) {

companion object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ import org.gradle.kotlin.dsl.typeOf
import org.gradle.kotlin.dsl.withType
import org.gradle.util.GradleVersion

@Suppress("UnstableApiUsage")
class NexusPublishPlugin : Plugin<Project> {

companion object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ import java.net.URI
import javax.inject.Inject
import kotlin.reflect.KClass

@Suppress("UnstableApiUsage")
open class NexusRepository @Inject constructor(@Input val name: String, project: Project) {

@Input
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import org.gradle.kotlin.dsl.property
import java.time.Duration
import javax.inject.Inject

@Suppress("UnstableApiUsage")
open class TransitionCheckOptions @Inject constructor(objects: ObjectFactory) {

val maxRetries = objects.property<Int>().value(60)
Expand Down

0 comments on commit 1de6fc4

Please sign in to comment.