Remove the @Inclubating annotation from UnstableApiUsage inspection

Also remove `@Suppress("UnstableApiUsage)"` where it was relevant
This commit is contained in:
Sergey Igushkin
2019-08-21 19:04:07 +03:00
parent ffd0b438da
commit 50e758cbb7
15 changed files with 19 additions and 28 deletions
@@ -186,7 +186,6 @@ class KotlinMPPGradleModelBuilder : ModelBuilderService {
val getConfigurationName = dependencyHolderClass.getMethodOrNull(configurationNameAccessor) ?: return emptyList()
val configurationName = getConfigurationName(dependencyHolder) as? String ?: return emptyList()
val configuration = project.configurations.findByName(configurationName) ?: return emptyList()
@Suppress("UnstableApiUsage")
if (!configuration.isCanBeResolved) return emptyList()
val dependencyAdjuster =
@@ -512,7 +511,6 @@ class KotlinMPPGradleModelBuilder : ModelBuilderService {
return (getCompileClasspath(compileKotlinTask) as? Collection<File>)?.map { it.path } ?: emptyList()
}
@Suppress("UnstableApiUsage")
private fun buildCompilationOutput(
gradleCompilation: Named,
compileKotlinTask: Task
@@ -580,7 +578,6 @@ class KotlinMPPGradleModelBuilder : ModelBuilderService {
}
}
@Suppress("UnstableApiUsage")
private class DependencyAdjuster(
private val configuration: Configuration,
private val scope: String,