我正在尝试使用Gradle,文件看起来像:
// Apply the java plugin to add support for Java
apply plugin: 'java'
// In this section you declare where to find the dependencies of your project
repositories {
// Use 'jcenter' for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
mavenCentral()
jcenter()
}
jar {
manifest {
attributes 'Main-Class': 'execute.Entry'
}
}
// In this section you declare the dependencies for your production and test code
dependencies {
// The production code uses the SLF4J …Run Code Online (Sandbox Code Playgroud)