Skip to content

Commit 82f1301

Browse files
committed
"Solution" the "Unable to load class 'org.jetbrains.kotlin.name.FqName'". It's solved, right?
see #65
1 parent 2128105 commit 82f1301

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

compiler/suspend-transform-plugin-embeddable/build.gradle.kts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@ plugins {
55
kotlin("jvm")
66
id("suspend-transform.jvm-maven-publish")
77
id("com.gradleup.shadow")
8-
// https://github.com/bennyhuo/kotlin-compiler-plugin-embeddable-plugin
9-
// id("com.bennyhuo.kotlin.plugin.embeddable") version "1.7.10.0"
108
}
119

1210
apply<EmbeddablePlugin>()
1311

1412
dependencies {
15-
add("embedded", project(":compiler:suspend-transform-plugin")) { isTransitive = false }
13+
add("embedded", project(":compiler:suspend-transform-plugin"))
1614
// embedded(project(":compiler:suspend-transform-plugin"))
1715
}

compiler/suspend-transform-plugin/src/main/kotlin/love/forte/plugin/suspendtrans/TransformerNames.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ val generatedAnnotationName: FqName = GENERATED_ANNOTATION_NAME.fqn
2828

2929
val generatedAnnotationClassId = ClassId.topLevel(generatedAnnotationName)
3030

31-
const val GENERATED_BY_ANNOTATION_NAME: String =
32-
"love.forte.plugin.suspendtrans.annotation.GeneratedBy"
33-
34-
val generatedByAnnotationName: FqName = GENERATED_BY_ANNOTATION_NAME.fqn
35-
3631
//region JVM
3732
// region jvm blocking
3833
const val TO_JVM_BLOCKING_ANNOTATION_NAME: String =

tests/test-jvm/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ buildscript {
2020
}
2121
dependencies {
2222
classpath("love.forte.plugin.suspend-transform:suspend-transform-plugin-gradle:2.1.0-Beta1-0.9.2")
23+
classpath("org.jetbrains.kotlin:kotlin-compiler:2.1.0-Beta1")
2324
}
2425
}
2526

0 commit comments

Comments
 (0)