Add has_projects field to github repository

This commit is contained in:
Sladyn Nunes
2020-03-15 14:44:52 +05:30
parent c11c06b896
commit 829e96a2d0
2 changed files with 34 additions and 1 deletions

View File

@@ -77,6 +77,18 @@ public class GHCreateRepositoryBuilder {
return this;
}
/**
* Enables projects
*
* @param enabled
* true if enabled
* @return a builder to continue with building
*/
public GHCreateRepositoryBuilder projects(boolean enabled) {
this.builder.with("has_projects", enabled);
return this;
}
/**
* Enables wiki
*