File tree Expand file tree Collapse file tree 3 files changed +30
-0
lines changed
subprojects/kotlin-reflect
src/main/kotlin/org/sdkotlin/kotlin/reflect Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ include("subprojects:effective-kotlin")
4444include(" subprojects:kotlin-dl" )
4545include(" subprojects:kotlin-for-java-devs" )
4646include(" subprojects:kotlin-for-java-devs-client" )
47+ include(" subprojects:kotlin-reflect" )
4748include(" subprojects:ksp-builder-generator:api:annotations" )
4849include(" subprojects:ksp-builder-generator:api:builder" )
4950include(" subprojects:ksp-builder-generator:processor" )
Original file line number Diff line number Diff line change 1+ plugins {
2+ id(" org.sdkotlin.buildlogic.kotlin-project" )
3+ id(" org.sdkotlin.buildlogic.test.unit-test-suite" )
4+ }
5+
6+ dependencies {
7+
8+ implementation(kotlin(" reflect" ))
9+ }
10+
11+ dependencyAnalysis {
12+ issues {
13+ onRuntimeOnly {
14+ exclude(
15+ // False positive on `kotlin-reflect` implementation use:
16+ // https://github.com/autonomousapps/dependency-analysis-gradle-plugin/issues/1384.
17+ " org.jetbrains.kotlin:kotlin-reflect" ,
18+ )
19+ }
20+ }
21+ }
Original file line number Diff line number Diff line change 1+ package org.sdkotlin.kotlin.reflect
2+
3+ sealed class SealedClass
4+ class SubClass : SealedClass ()
5+
6+ fun main () {
7+ println (SealedClass ::class .sealedSubclasses)
8+ }
You can’t perform that action at this time.
0 commit comments