相关疑难解决方法(0)

Gradle找不到依赖项

我正在尝试使用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)

java gradle

6
推荐指数
1
解决办法
1万
查看次数

标签 统计

gradle ×1

java ×1