plugins { war id("org.gretty") version "3.0.4" `eclipse-wtp` kotlin("jvm") version "1.5.0" } gretty { // httpPort = 8081 // port を変更する場合 // contextPath = "/Foo" // contextPath を変更する場合 } repositories { mavenCentral() } tasks.withType { options.encoding = "UTF-8" } dependencies { providedCompile(group = "javax.servlet", name = "javax.servlet-api", version = "3.1.0") }