Skip to content

Commit

Permalink
mainClassName is wrong in client-tools
Browse files Browse the repository at this point in the history
Without the fix, ./gradlew client-tools:run fails with:

> Task :client-tools:run FAILED
Error: Could not find or load main class io.ktor.samples.clientmultipart.MultipartAppKt
Caused by: java.lang.ClassNotFoundException: io.ktor.samples.clientmultipart.MultipartAppKt
  • Loading branch information
jmfayard committed Aug 6, 2021
1 parent c55a313 commit 04e1fd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generic/samples/client-tools/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ buildscript {
apply plugin: 'kotlin'
apply plugin: 'application'

mainClassName = "io.ktor.samples.clientmultipart.MultipartAppKt"
mainClassName = "ToolsAppKt"

sourceSets {
main.kotlin.srcDirs = [ 'src' ]
Expand Down

0 comments on commit 04e1fd7

Please sign in to comment.