You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Project build error if package name contains "by" or "in"
To Reproduce koin-getting-started Change the package name to contain “by” or “in”
package org.by.sample.di
import org.koin.core.annotation.ComponentScan
import org.koin.core.annotation.Module
@Module
@ComponentScan("org.by.sample")
class AppModule
Build with error if contains "by": e: file:///[project_path]/koin-getting-started/android-annotations/app/build/generated/ksp/debug/kotlin/org/koin/ksp/generated/AppModuleGenorg$by$sample$di.kt:12:18 Property getter or setter expected
contains "in" [ksp] /[project_path]/koin-getting-started/android-annotations/app/build/generated/ksp/debug/kotlin/org/koin/ksp/generated/AppModuleGenorg$in$sample$di.kt: (7, 65): Function declaration must have a name
Gnerated files:
Expected behavior
Build the project without errors
Koin project used and used version (please complete the following information):
kotlin = "2.0.20"
koin = "4.0.0"
koin-annotations = "2.0.0-Beta1"
ksp = "2.0.20-1.0.25"
Additional moduleDefinition
This may be important because “by” and “in” are country top-level domains.
The text was updated successfully, but these errors were encountered:
Describe the bug
Project build error if package name contains "by" or "in"
To Reproduce
koin-getting-started Change the package name to contain “by” or “in”
Build with error if contains "by":
e: file:///[project_path]/koin-getting-started/android-annotations/app/build/generated/ksp/debug/kotlin/org/koin/ksp/generated/AppModuleGenorg$by$sample$di.kt:12:18 Property getter or setter expected
contains "in"
[ksp] /[project_path]/koin-getting-started/android-annotations/app/build/generated/ksp/debug/kotlin/org/koin/ksp/generated/AppModuleGenorg$
in$sample$di.kt: (7, 65): Function declaration must have a name
Gnerated files:
Expected behavior
Build the project without errors
Koin project used and used version (please complete the following information):
kotlin = "2.0.20"
koin = "4.0.0"
koin-annotations = "2.0.0-Beta1"
ksp = "2.0.20-1.0.25"
Additional moduleDefinition
This may be important because “by” and “in” are country top-level domains.
The text was updated successfully, but these errors were encountered: