Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
Ignore gradle project when showingConfiguration (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
loosebazooka committed Apr 13, 2017
1 parent 1671e59 commit b5ddc84
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ static String getExtensionData(String extensionName, Object extensionInstance, i
if (field.isSynthetic()) {
continue;
}
// This is just a helper for the extensions, don't show it
if (field.getType().equals(org.gradle.api.Project.class)) {
continue;
}
result.append(getFieldData(field, extensionInstance, depth + 1));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@

package com.google.cloud.tools.gradle.appengine.core.model;

import org.gradle.api.Project;

public class ExtY {
Project ignored;
int yy = 0;
}

0 comments on commit b5ddc84

Please sign in to comment.