gradle-watch-plugin icon indicating copy to clipboard operation
gradle-watch-plugin copied to clipboard

task running twice

Open atomi opened this issue 9 years ago • 1 comments

The task appears to be running twice:

Test case simple class

package com.atomi.examples.generics;

public class BasicGenerics
{
    public static void main(String[] args) {
      System.out.print("test");
    }
}

gradle.build

plugins {
  id 'application'
  id 'com.bluepapa32.watch' version '0.1.5'
}


version = '1.0'

repositories {
  mavenCentral()
}

sourceSets {
  main {
    java {
      srcDir 'src'
    }
  }
}

watch {
  java {
    files files('src')
    tasks 'run'
  }
}


mainClassName = "com.atomi.examples.generics.BasicGenerics"

versions:

------------------------------------------------------------
Gradle 2.2.1
------------------------------------------------------------

Build time:   2014-11-24 09:45:35 UTC
Build number: none
Revision:     6fcb59c06f43a4e6b1bcb401f7686a8601a1fb4a

Groovy:       2.3.6
Ant:          Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM:          1.8.0_45 (Oracle Corporation 25.45-b02)
OS:           Windows 8.1 6.3 amd64

atomi avatar May 02 '15 22:05 atomi

Very annoying! It didn't happen with 0.1.3. Can you confirm this?

joh-klein avatar Jul 15 '15 15:07 joh-klein