diff --git a/documentation/index.html b/documentation/index.html index eb85114..369a421 100644 --- a/documentation/index.html +++ b/documentation/index.html @@ -199,7 +199,7 @@ This is the simplest jar declaration you can have. You can trigger the creation jar { fatJar = true manifest { - attributes("Main-Class", "com.beust.kobalt.KobaltPackage") + attributes("Main-Class", "com.beust.FileHavingMainKt") } } zip { @@ -212,7 +212,7 @@ This is the simplest jar declaration you can have. You can trigger the creation

-Our jar file is now declared to be a "fat jar" (which means it will include all its dependencies) and we specified a Main-Class to the jar Manifest, which means we will be able to invoke it with java -jar kobalt-0.61.jar. If you don't like this name, you can override it with a name = "myName.jar" statement. +Our jar file is now declared to be a "fat jar" (which means it will include all its dependencies) and we specified a Main-Class to the jar Manifest, which means we will be able to invoke it with java -jar kobalt-0.61.jar. If you don't like this name, you can override it with a name = "myName.jar" statement. FileHavingMain would be the name of the .kt file in package com.beust that contains the main function that will be run automatically