You can use the following code. jar { manifest { attributes( 'Main-Class': 'com.package.YourClass' ) } from { configurations.
確定! 回上一頁