IntelliJ can't find Gradle property, CLI gradle can.

Steps to reproduce:

1. Write a build.gradle file that requires a property specified in ~/.gradle/gradle.properties.
2. Run gradle test
3. Attempt to import the Gradle project in IntelliJ.

Expected:

The project successfully imports.

Observed:

    No such property: spredfastRepoUsername for class org.gradle.api.internal.artifacts.repositories.DefaultPasswordCredentials._Decorated`

4 comments
Comment actions Permalink

Works fine here, what IDEA version do you use? Could you attach a simple project to reproduce the issue?

0
Comment actions Permalink

* IntelliJ 14.1.5
* gradle 2.4
* Mac OS X El Capitan 10.11.1

0
Comment actions Permalink

* IntelliJ 2016.2.1
* gradle 2.14.1

* Mac OS X El Capitan 10.11.5

 

The same problem !

0
Comment actions Permalink

@Andrew Pennebaker  can u resolve?

0

Please sign in to leave a comment.