在build.gradle 加入Application Plugin 的設定,除了apply plugin 之外還要設定mainClassName 的完整類別名稱 ... task run(type: JavaExec) { main = 'com.example.
確定! 回上一頁