baob
08/27/2017, 11:48 AMsourceSets.main.kotlin.srcDirs = ['src']
but even that doesn’t seem to do itx80486
08/27/2017, 2:51 PMcd
into the project's directory and do gradle init
.
That will provide you with some structure right away and some other files you are going to need, like the Gradle wrapper. Then execute Gradle commands with the same: ./gradlew run
, or ./gradlew clean assemble
...depending on the task(s) you have availablesourceSets
is because you are not using the default/standard structure. You can go either way, but I would prefer to have that. Something like:
.
├── build.gradle
├── gradle
│ └── wrapper
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── gradle.properties
├── gradlew
├── gradlew.bat
├── README.asciidoc
├── settings.gradle
└── src
├── main
│ ├── kotlin
│ │ └── io
│ │ └── shido
│ │ ├── Application.kt
│ │ ├── core
│ │ │ ├── handler
│ │ │ │ ├── AuthRequestHandler.kt
│ │ │ │ └── UserRequestHandler.kt
│ │ │ └── verticle
│ │ │ ├── AuthVerticle.kt
│ │ │ ├── HttpServerVerticle.kt
│ │ └── domain
│ │ └── KeyCard.kt
│ └── resources
│ ├── cluster.xml
│ ├── config.json
│ ├── logback.xml
│ ├── server-cert.pem
│ ├── server-key.pem
│ └── ValidationMessages.properties
└── test
├── kotlin
│ └── io
│ └── shido
│ └── domain
│ └── KeyCardTest.kt
└── resources
└── logback-test.xml
baob
08/27/2017, 3:17 PMhello.kt
to helloKt
… turns out the right mapping was HelloKt
gradle init
but the source I started with gave me a supposedly working build.gradle
so I didn’t backtrack that far. I will certainly play with it, thanks.rocketraman
08/27/2017, 4:28 PMHello.kt
to HelloKt
would have been clear...baob
08/27/2017, 9:00 PMHelloKt