diff --git a/build.gradle b/build.gradle index 2af13a5..f00fd61 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,7 @@ plugins { id 'java' id "io.github.balookrd.scrooge-gradle-plugin" version "19.12.1" + id 'application' } @@ -28,3 +29,8 @@ compileScrooge { dest = file("src/main/java") opts = ["--finagle"] //default Java code, ["-l","scala"] for scala code } + +application { + mainClass = "org.example.FinagleThriftServer" + applicationDefaultJvmArgs = ['-Ddeteste.language=en'] +} \ No newline at end of file