mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 08:38:13 -07:00
Reformat.
This commit is contained in:
parent
04810f4df8
commit
205f10a53d
1 changed files with 2 additions and 1 deletions
|
@ -84,7 +84,8 @@ class BuildScriptUtil @Inject constructor(val plugins: Plugins, val files: KFile
|
||||||
}.forEach { cls ->
|
}.forEach { cls ->
|
||||||
cls.methods.forEach { method ->
|
cls.methods.forEach { method ->
|
||||||
// Invoke vals and see if they return a Project
|
// Invoke vals and see if they return a Project
|
||||||
if (method.name.startsWith("get") && Modifier.isStatic(method.modifiers) && method.parameterCount == 0) {
|
if (method.name.startsWith("get") && Modifier.isStatic(method.modifiers)
|
||||||
|
&& method.parameterCount == 0) {
|
||||||
try {
|
try {
|
||||||
val r = method.invoke(null)
|
val r = method.invoke(null)
|
||||||
if (r is Project) {
|
if (r is Project) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue