task hello2 { doLast { println 'Hello world2!' } } ※gradle hello1 gradle hello2 ※把task想成一個method較好理解 ※doLast不寫也ok,是最後執行的 ...
確定! 回上一頁