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

(window10) Cannot get property 'kotless' on extra properties extension as it does not exist #23

Closed
anpaul0615 opened this issue Jan 29, 2020 · 4 comments

Comments

@anpaul0615
Copy link

ref : #21

on linux, ./gradlew works good but on window10 is not.

how can i build my kotless app on window10?

(capture1 - build.gradle.kts)
capture1 - build gradle kts

(capture2 - gradlew)
capture2 - gradlew

(capture3 - cannot get property kotless)
capture3 - cannot get property kotless

(capture4 - package cannot be imported)
capture4 - package cannot be imported

@TanVD
Copy link
Member

TanVD commented Jan 29, 2020

IntelliJ shows that package can not be imported, but does it work from console? It may be a bug in IntelliJ integration with Gradle :)

@anpaul0615
Copy link
Author

running gradle build is not work also without intellij... :(

(capture5 - running gradle without intellij)
capture5 - running gradle without intellij

(capture6 - cannot get property kotless without intellij)
capture6 - cannot get property kotless without intellij

@TanVD
Copy link
Member

TanVD commented Feb 5, 2020

I am not sure, but do you have kotless { ... }? As far as I see from screenshot it is not in build.gradle.kts :)
It is mentioned in Getting Started: https://github.com/JetBrains/kotless#getting-started :

kotless {
    config {
        bucket = "kotless.s3.example.com"
        
        dsl {
            type = DSLType.Kotless
        }

        terraform {
            profile = "example"
            region = "us-east-1"
        }
    }

    webapp {
        route53 = Route53("kotless", "example.com")

        lambda {            
            kotless {
                packages = setOf("io.kotless.examples")
            }
        }
    }
}

@TanVD TanVD closed this as completed Feb 8, 2020
@anpaul0615
Copy link
Author

@TanVD
You're right. It is intellij gradle integration bug.
After update intellij ver2019.3 to ver2019.3.2, it seems to work fine. thankyou :)

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

2 participants