hymnfortheweekend
01/18/2020, 8:35 AMTanVD
01/18/2020, 9:44 AMhymnfortheweekend
01/18/2020, 9:47 AMplugins {
    kotlin("jvm") version "1.3.50" apply true
    id("io.kotless") version "0.1.2" apply true
}
group = "org.example"
version = "1.0-SNAPSHOT"
repositories {
    jcenter()
    mavenCentral()
}
dependencies {
    implementation(kotlin("stdlib-jdk8"))
    implementation("io.kotless", "lang", "0.1.2")
}
tasks {
    compileKotlin {
        kotlinOptions.jvmTarget = "1.8"
    }
    compileTestKotlin {
        kotlinOptions.jvmTarget = "1.8"
    }
}A problem occurred configuring root project 'KotlessDemo'.
> Cannot get property 'kotless' on extra properties extension as it does not existhymnfortheweekend
01/18/2020, 9:47 AMTanVD
01/18/2020, 9:52 AMkotless { ... }TanVD
01/18/2020, 9:53 AMkotless {
    config {
        bucket = "<http://kotless.s3.example.com|kotless.s3.example.com>"
        
        dsl {
            type = DSLType.Kotless
            //or for Ktor
            //type = DSLType.Ktor
        }
        terraform {
            profile = "example"
            region = "us-east-1"
        }
    }
    webapp {
        route53 = Route53("kotless", "<http://example.com|example.com>")
        //configuration of lambda created
        lambda {            
            //needed only for Kotless DSL
            kotless {
                //Define packages in which scan for routes should be performed
                packages = setOf("io.kotless.examples")
            }
        }
    }
}TanVD
01/18/2020, 9:53 AMhymnfortheweekend
01/18/2020, 10:15 AMid("io.kotless") version "0.1.2" apply truehymnfortheweekend
01/18/2020, 11:43 AMFailed to get existing workspaces: InvalidBucketName: The specified bucket is not valid.hymnfortheweekend
01/18/2020, 11:59 AMTanVD
01/18/2020, 1:19 PM