DEV Community

Query Filter
Query Filter

Posted on

docker14

distributions {
    main {
        contents {
            // Explicitly link the task to avoid the 'implicit dependency' warning
            from(tasks.named('buildRpm')) 

            from('ansible') {
                into('ansible')
            }
        }
    }
}

// Add these explicit dependencies to fix the 'SKIPPED' status
tasks.named('buildRpm') {
    dependsOn tasks.named('jar')
}

tasks.named('distTar') {
    dependsOn tasks.named('buildRpm')
}
Enter fullscreen mode Exit fullscreen mode

Top comments (0)