Mark A. Flacy schrieb am 15.03.2021 um 10:32:
> Which version of Gradle are you using?  What does the parent project's
> build.gradle look like?
>

I am using Gradle 6.7

The sub module only contains a build.gradle with the following dependencies:

    dependencies {

        // Spring
        implementation 
"org.springframework.boot:spring-boot:${springBootVersion}"
        implementation 
"org.springframework.boot:spring-boot-autoconfigure:${springBootVersion}"
        implementation "commons-io:commons-io:${commonsIoVersion}"
        implementation "org.apache.commons:commons-lang3:${commonsLangVersion}"
        implementation "org.apache.commons:commons-text:1.9"
        implementation "org.freemarker:freemarker:${freemarkerVersion}"

        // Logging
        implementation "ch.qos.logback:logback-core:${logbackVersion}"
        implementation "ch.qos.logback:logback-classic:${logbackVersion}"
        implementation "org.slf4j:slf4j-api:${slf4jVersion}"

        // Jackson
      
implementation("com.fasterxml.jackson.core:jackson-annotations:${jacksonVersion}")
        implementation 
"com.fasterxml.jackson.core:jackson-core:${jacksonVersion}"
        implementation 
"com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}"

        // Test
        testCompile("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
        testRuntime("org.junit.jupiter:junit-jupiter-engine:${junitVersion}")
        
testRuntime("org.junit.platform:junit-platform-launcher:${junitPlatformVersion}")
        testImplementation ("org.springframework.boot:spring-boot-starter-test")
        testImplementation ("org.freemarker:freemarker:${freemarkerVersion}")

    }


The parent's build.gradle does not contain any dependencies and its 
gradle.properties contains this:


    group = .....
    version = 0.1.0

    # Plugin versions
    semverPluginVersion=2.3.1
    dockerRemoteApiPluginVersion=6.1.4
    dockerComposePluginVersion=0.14.0
    springBootVersion=2.4.0
    hibernateCoreVersion=5.4.21.Final
    commonsIoVersion=2.8.0
    commonsLangVersion=3.11
    quartzVersion=2.3.2

    dependencyManagementVersion=1.0.10.RELEASE
    wsdl2javaVersion=0.12
    jacksonVersion=2.12.1
    httpClientVersion=4.5.12
    logbackVersion=1.2.3
    slf4jVersion=1.7.30
    freemarkerVersion=2.3.31

    # Java
    sourceCompatibility = 11
    targetCompatibility = 11

    # Test
    junitVersion=5.5.2
    junitPlatformVersion=1.5.2



It's absolutely no big deal to adjust the sub-module's build.gradle - I am just 
curious why Gradle is happy with this, but NetBeans isn't

Regards
Thomas


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to