Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple gradle init followed by gradlew run fails on exFAT formatted drive #15580

Closed
aschroeder opened this issue Dec 14, 2020 · 2 comments
Closed
Labels

Comments

@aschroeder
Copy link

Expected Behavior

Simple example work as described in
https://docs.gradle.org/6.7.1/samples/sample_building_java_applications_multi_project.html
and created by gradle init does support "run" task.

Current Behavior

Run task fails:

.\gradlew run

FAILURE: Build failed with an exception.

* Where:
Build file 'G:\w\jge\sample\app\build.gradle' line: 6

* What went wrong:
Plugin [id: 'sample.java-application-conventions'] was not found in any of the following sources:

- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (plugin dependency must include a version number for this source)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s

Context

Steps to Reproduce

First the interactive init

Select type of project to generate:
  1: basic
  2: application
  3: library
  4: Gradle plugin
Enter selection (default: basic) [1..4] 2

Select implementation language:
  1: C++
  2: Groovy
  3: Java
  4: Kotlin
  5: Scala
  6: Swift
Enter selection (default: Java) [1..6] 3

Split functionality across multiple subprojects?:
  1: no - only one application project
  2: yes - application and library projects
Enter selection (default: no - only one application project) [1..2] 2

Select build script DSL:
  1: Groovy
  2: Kotlin
Enter selection (default: Groovy) [1..2] 1

Project name (default: sample):
Source package (default: sample):

> Task :init
Get more help with your project: https://docs.gradle.org/6.7.1/samples/sample_building_java_applications_multi_project.html

BUILD SUCCESSFUL in 16s
2 actionable tasks: 2 executed

Then proceed with .\gradlew run as written above

Your Environment

------------------------------------------------------------
Gradle 6.7.1
------------------------------------------------------------

Build time:   2020-11-16 17:09:24 UTC
Revision:     2972ff02f3210d2ceed2f1ea880f026acfbab5c0

Kotlin:       1.3.72
Groovy:       2.5.12
Ant:          Apache Ant(TM) version 1.10.8 compiled on May 10 2020
JVM:          14.0.2 (Oracle Corporation 14.0.2+12-46)
OS:           Windows 10 10.0 amd64

Scan of the build: https://scans.gradle.com/s/czlknru5xhauo

@aschroeder aschroeder changed the title Simple gradle init followed by gradlew run fails Simple gradle init followed by gradlew run fails on exFAT formatted drive Dec 14, 2020
@aschroeder
Copy link
Author

Seems to be duplicate to #4329, but it is difficult to track down. Some "locking failed" etc, error message would help.

@bmuskalla
Copy link
Contributor

Supporting exFAT is tracked on #4329. Thanks for the report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants