Skip to content

Commit

Permalink
Replace Project.getRootProject() by rootProject
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor committed Feb 14, 2018
1 parent de4a574 commit 9bfea57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions org.jabref.logic/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ processResources {
filesMatching("build.properties") {
expand(version: project.version,
"year": String.valueOf(Calendar.getInstance().get(Calendar.YEAR)),
"authors": Project.getRootProject().file('AUTHORS').readLines().findAll { !it.startsWith("#") }.join(", "),
"developers": Project.getRootProject().file('DEVELOPERS').readLines().findAll { !it.startsWith("#") }.join(", "),
"authors": rootProject.file('AUTHORS').readLines().findAll { !it.startsWith("#") }.join(", "),
"developers": rootProject.file('DEVELOPERS').readLines().findAll { !it.startsWith("#") }.join(", "),
"azureInstrumentationKey": System.getenv('AzureInstrumentationKey'),
"minRequiredJavaVersion": minRequiredJavaVersion,
"allowJava9": allowJava9
Expand Down

0 comments on commit 9bfea57

Please sign in to comment.