{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-java/issues/1711","labels_url":"https://api.github.com/repos/realm/realm-java/issues/1711/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-java/issues/1711/comments","events_url":"https://api.github.com/repos/realm/realm-java/issues/1711/events","html_url":"https://github.com/realm/realm-java/issues/1711","id":114477861,"number":1711,"title":"Task clean cannot be run if realm-java is already clean.","user":{"login":"dalinaum","id":145585,"avatar_url":"https://avatars.githubusercontent.com/u/145585?v=3","gravatar_id":"","url":"https://api.github.com/users/dalinaum","html_url":"https://github.com/dalinaum","followers_url":"https://api.github.com/users/dalinaum/followers","following_url":"https://api.github.com/users/dalinaum/following{/other_user}","gists_url":"https://api.github.com/users/dalinaum/gists{/gist_id}","starred_url":"https://api.github.com/users/dalinaum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dalinaum/subscriptions","organizations_url":"https://api.github.com/users/dalinaum/orgs","repos_url":"https://api.github.com/users/dalinaum/repos","events_url":"https://api.github.com/users/dalinaum/events{/privacy}","received_events_url":"https://api.github.com/users/dalinaum/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/realm/realm-java/labels/bug","name":"bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-01T16:01:56Z","updated_at":"2015-11-01T16:07:06Z","closed_at":"2015-11-01T16:06:33Z","body":"```\r\n➜  realm-java git:(master) ✗ ./gradlew clean\r\n[buildinfo] Not using buildInfo properties file for this build.\r\n:cleanExamples\r\n:examples:adapterExample:clean\r\n:examples:encryptionExample:clean\r\n:examples:gridViewExample:clean\r\n:examples:introExample:clean\r\n:examples:jsonExample:clean\r\n:examples:kotlinExample:clean\r\n:examples:migrationExample:clean\r\n:examples:threadExample:clean\r\n:examples:moduleExample:app:clean\r\n:examples:moduleExample:library:clean\r\n:cleanGradlePlugin\r\n:gradle-plugin:clean\r\n:cleanLocalMavenRepos\r\n:cleanRealm\r\n:realm:realm-annotations:clean\r\n:realm:realm-annotations-processor:clean\r\n:realm:realm-jni:clean\r\nrm -f *.d *.o *.gcno *.gcda librealm-jni-arm.a librealm-jni-arm-dbg.a librealm-jni-arm-cov.a librealm-jni-arm.so librealm-jni-arm-dbg.so librealm-jni-arm-cov.so librealm-jni.libdeps\r\nrm -f *.d *.o *.gcno *.gcda librealm-jni-arm-v7a.a librealm-jni-arm-v7a-dbg.a librealm-jni-arm-v7a-cov.a librealm-jni-arm-v7a.so librealm-jni-arm-v7a-dbg.so librealm-jni-arm-v7a-cov.so librealm-jni.libdeps\r\nrm -f *.d *.o *.gcno *.gcda librealm-jni-arm64.a librealm-jni-arm64-dbg.a librealm-jni-arm64-cov.a librealm-jni-arm64.so librealm-jni-arm64-dbg.so librealm-jni-arm64-cov.so librealm-jni.libdeps\r\nrm -f *.d *.o *.gcno *.gcda librealm-jni-mips.a librealm-jni-mips-dbg.a librealm-jni-mips-cov.a librealm-jni-mips.so librealm-jni-mips-dbg.so librealm-jni-mips-cov.so librealm-jni.libdeps\r\nrm -f *.d *.o *.gcno *.gcda librealm-jni-x86.a librealm-jni-x86-dbg.a librealm-jni-x86-cov.a librealm-jni-x86.so librealm-jni-x86-dbg.so librealm-jni-x86-cov.so librealm-jni.libdeps\r\nrm -f *.d *.o *.gcno *.gcda librealm-jni-x86_64.a librealm-jni-x86_64-dbg.a librealm-jni-x86_64-cov.a librealm-jni-x86_64.so librealm-jni-x86_64-dbg.so librealm-jni-x86_64-cov.so librealm-jni.libdeps\r\n:realm:realm-library:clean\r\n:clean\r\n\r\nBUILD SUCCESSFUL\r\n\r\nTotal time: 12.667 secs\r\n\r\nThis build could be faster, please consider using the Gradle Daemon: https://docs.gradle.org/2.7/userguide/gradle_daemon.html\r\n➜  realm-java git:(master) ✗ ./gradlew clean\r\n[buildinfo] Not using buildInfo properties file for this build.\r\n:cleanExamples FAILED\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nA problem occurred configuring project ':adapterExample'.\r\n> Could not resolve all dependencies for configuration ':adapterExample:classpath'.\r\n   > Could not find io.realm:gradle-plugin:0.84.2-SNAPSHOT.\r\n     Searched in the following locations:\r\n         file:/Users/dalinaum/Library/Android/sdk/extras/android/m2repository/io/realm/gradle-plugin/0.84.2-SNAPSHOT/maven-metadata.xml\r\n         file:/Users/dalinaum/Library/Android/sdk/extras/android/m2repository/io/realm/gradle-plugin/0.84.2-SNAPSHOT/gradle-plugin-0.84.2-SNAPSHOT.pom\r\n         file:/Users/dalinaum/Library/Android/sdk/extras/android/m2repository/io/realm/gradle-plugin/0.84.2-SNAPSHOT/gradle-plugin-0.84.2-SNAPSHOT.jar\r\n         https://jcenter.bintray.com/io/realm/gradle-plugin/0.84.2-SNAPSHOT/maven-metadata.xml\r\n         https://jcenter.bintray.com/io/realm/gradle-plugin/0.84.2-SNAPSHOT/gradle-plugin-0.84.2-SNAPSHOT.pom\r\n         https://jcenter.bintray.com/io/realm/gradle-plugin/0.84.2-SNAPSHOT/gradle-plugin-0.84.2-SNAPSHOT.jar\r\n     Required by:\r\n         io.realm:adapterExample:0.84.2-SNAPSHOT\r\n\r\n* Try:\r\nRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\r\n\r\nBUILD FAILED\r\n\r\nTotal time: 9.917 secs\r\n```\r\n\r\nEven example projects require `io/realm/gradle-plugin/0.84.2-SNAPSHOT`. So if `realm-java` is already clean, task clean cannot be run anymore."},"comment":{"url":"https://api.github.com/repos/realm/realm-java/issues/comments/152840659","html_url":"https://github.com/realm/realm-java/issues/1711#issuecomment-152840659","issue_url":"https://api.github.com/repos/realm/realm-java/issues/1711","id":152840659,"user":{"login":"dalinaum","id":145585,"avatar_url":"https://avatars.githubusercontent.com/u/145585?v=3","gravatar_id":"","url":"https://api.github.com/users/dalinaum","html_url":"https://github.com/dalinaum","followers_url":"https://api.github.com/users/dalinaum/followers","following_url":"https://api.github.com/users/dalinaum/following{/other_user}","gists_url":"https://api.github.com/users/dalinaum/gists{/gist_id}","starred_url":"https://api.github.com/users/dalinaum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dalinaum/subscriptions","organizations_url":"https://api.github.com/users/dalinaum/orgs","repos_url":"https://api.github.com/users/dalinaum/repos","events_url":"https://api.github.com/users/dalinaum/events{/privacy}","received_events_url":"https://api.github.com/users/dalinaum/received_events","type":"User","site_admin":false},"created_at":"2015-11-01T16:07:06Z","updated_at":"2015-11-01T16:07:06Z","body":"Oh. I didn't read README.md. I just closed this issue."}}