[英]Gradle build folder not showing up after installing the Gradle Eclipse Plugin
我有一个项目,我使用gradle来构建。 在我安装Gradle Eclipse插件之前,我能够在Eclipse中看到gradle build文件夹。 但在安装插件(Buildship)并创建和构建新的Gradle项目后,我无法再在Project Explorer或Package Explorer或Navigator中看到build文件夹。 我能够从Windows资源管理器中看到build文件夹和jar文件。 我试图从自定义视图...更改设置,但它没有解决问题。 有人可以让我知道如何让build文件夹出现吗? 谢谢。
这是build.gradle:
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'application'
mainClassName = 'com.ii.mainClass'
repositories {
mavenCentral()
}
sourceCompatibility = 1.7
targetCompatibility = 1.7
dependencies {
compile 'com.fasterxml.jackson.core:jackson-annotations:2.6.1'
compile 'com.fasterxml.jackson.core:jackson-core:2.6.1'
compile 'com.fasterxml.jackson.core:jackson-databind:2.6.1'
compile 'org.springframework:spring-beans:4.2.0.RELEASE'
compile 'org.springframework:spring-context:4.2.0.RELEASE'
compile 'org.springframework:spring-core:4.2.0.RELEASE'
compile 'org.springframework:spring-expression:4.2.0.RELEASE'
compile 'org.springframework.xd:spring-xd-tuple:1.0.4.RELEASE'
}
我在Gradle论坛上找到了一个主题的解决方案( https://discuss.gradle.org/t/setting-eclipse-native-library-location/11075/2 )。
该插件安装了一个带有排除模式的资源过滤器,您可以在项目的属性中手动删除(资源 - >资源过滤器)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.