I worked around this problem by manually installing the junit package (3.8.2-9). Note that the gradle package transitively declares a dependency to junit4, but seems to strictly require JUnit 3.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1755607 Title: java.lang.UnsupportedOperationException: Cannot nest operations in the same thread. Each nested operation must run in its own thread. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gradle/+bug/1755607/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs