Skip to content

Commit 917e203

Browse files
committed
Fix compilation
1 parent cf620e2 commit 917e203

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.idea/kotlinc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ksp/processor/src/main/kotlin/generator/FactoryFunction.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ fun KSClassDeclaration.factoryFunction(packageName: String) {
2525
builder.addFunction(simpleName.asString()) {
2626
val type = ClassName(packageName, toClassName().simpleNames)
2727
addKdoc("Creates an [%T] from an [%T].", type, KSAnnotation::class.asClassName())
28-
val annotation by addParameter<KSAnnotation>()
28+
val annotation by addParameter(KSAnnotation::class.asClassName())
2929
returns(type)
3030

3131
addStatement("val arguments = %N.%M<%T>().%M()", annotation, ARGUMENTS, toClassName(), ARGUMENTS_NOT_NULL)

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pluginManagement {
88
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
99

1010
plugins {
11-
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
11+
id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
1212
}
1313

1414
rootProject.name = "codegen-kt"

0 commit comments

Comments
 (0)