Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project build with error if package name contains "by" or "in" #184

Open
nsmapp opened this issue Oct 27, 2024 · 0 comments
Open

Project build with error if package name contains "by" or "in" #184

nsmapp opened this issue Oct 27, 2024 · 0 comments

Comments

@nsmapp
Copy link

nsmapp commented Oct 27, 2024

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:
image
image

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant