[英]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.