Gradle 1.12 - Why tasks are not executed -
i'm using gradle wrapper build java project.
recently upgraded gradle wrapper version 1.0.3 milestone 1.12.
my build.gradle looks this:
apply plugin: 'java' <some extensions java plugin tasks> ... ... ... task package(type: zip) { group = "package" destinationdir = file("./install") basename = "serverpackage" version = project.version into('someproject/bin') { from('./bin') { include '**/*.*' } } into('someproject/config') { from('./config') { include '**/*.*' } } into('someproject/config') { from('./src/main/resources') { include '**/*.*' } } into('someproject/lib') { configurations.runtime } }
when run command 'gradlew build' 1.12 version, reason (don't know why) task package not executed while in 1.0.3 version executed.
in version 1.0.3 looks this:
:package :compilejava up-to-date :processresources up-to-date :classes :jar :remoteinterfacejar up-to-date :assemble :compiletestjava up-to-date :processtestresources up-to-date :testclasses up-to-date :test :check :build build successful
while in 1.12 version looks this:
:compilejava up-to-date :processresources up-to-date :classes :jar :assemble :compiletestjava up-to-date :processtestresources up-to-date :testclasses up-to-date :test :check :build build successful
why package task not executed in 1.12 version?
thx.
Comments
Post a Comment