From 011d930a7cd4cf762f8044747e4d0fa48bdb5552 Mon Sep 17 00:00:00 2001 From: "Rodrigo B. de Oliveira" Date: Fri, 1 Feb 2013 16:05:00 -0200 Subject: [PATCH] move related classes to separate namespaces --- src/main/groovy/kaizen/plugins/BundlePlugin.groovy | 1 + src/main/groovy/kaizen/plugins/{ => clr}/MonoFramework.groovy | 2 +- .../kaizen/plugins/{ => repository}/DirectoryIndexer.groovy | 2 +- .../kaizen/plugins/{ => repository}/RepositoryPlugin.groovy | 2 +- src/main/groovy/kaizen/plugins/{ => unity}/Unity.groovy | 4 +++- src/main/groovy/kaizen/plugins/{ => unity}/UnityPlugin.groovy | 2 +- .../META-INF/gradle-plugins/kaizen-repository.properties | 2 +- src/main/resources/META-INF/gradle-plugins/unity.properties | 2 +- src/test/groovy/kaizen/plugins/DirectoryIndexerSpec.groovy | 1 + src/test/groovy/kaizen/plugins/UnityPluginSpec.groovy | 1 + 10 files changed, 12 insertions(+), 7 deletions(-) rename src/main/groovy/kaizen/plugins/{ => clr}/MonoFramework.groovy (97%) rename src/main/groovy/kaizen/plugins/{ => repository}/DirectoryIndexer.groovy (96%) rename src/main/groovy/kaizen/plugins/{ => repository}/RepositoryPlugin.groovy (92%) rename src/main/groovy/kaizen/plugins/{ => unity}/Unity.groovy (88%) rename src/main/groovy/kaizen/plugins/{ => unity}/UnityPlugin.groovy (83%) diff --git a/src/main/groovy/kaizen/plugins/BundlePlugin.groovy b/src/main/groovy/kaizen/plugins/BundlePlugin.groovy index 790a4d2..85382b5 100755 --- a/src/main/groovy/kaizen/plugins/BundlePlugin.groovy +++ b/src/main/groovy/kaizen/plugins/BundlePlugin.groovy @@ -1,5 +1,6 @@ package kaizen.plugins +import kaizen.plugins.unity.UnityPlugin import org.gradle.api.Project import org.gradle.api.Plugin diff --git a/src/main/groovy/kaizen/plugins/MonoFramework.groovy b/src/main/groovy/kaizen/plugins/clr/MonoFramework.groovy similarity index 97% rename from src/main/groovy/kaizen/plugins/MonoFramework.groovy rename to src/main/groovy/kaizen/plugins/clr/MonoFramework.groovy index 6472539..8d0b9a9 100644 --- a/src/main/groovy/kaizen/plugins/MonoFramework.groovy +++ b/src/main/groovy/kaizen/plugins/clr/MonoFramework.groovy @@ -1,4 +1,4 @@ -package kaizen.plugins +package kaizen.plugins.clr import kaizen.foundation.Paths import kaizen.foundation.SystemInformation diff --git a/src/main/groovy/kaizen/plugins/DirectoryIndexer.groovy b/src/main/groovy/kaizen/plugins/repository/DirectoryIndexer.groovy similarity index 96% rename from src/main/groovy/kaizen/plugins/DirectoryIndexer.groovy rename to src/main/groovy/kaizen/plugins/repository/DirectoryIndexer.groovy index 991aef9..3fc1cea 100644 --- a/src/main/groovy/kaizen/plugins/DirectoryIndexer.groovy +++ b/src/main/groovy/kaizen/plugins/repository/DirectoryIndexer.groovy @@ -1,4 +1,4 @@ -package kaizen.plugins +package kaizen.plugins.repository import groovy.xml.MarkupBuilder diff --git a/src/main/groovy/kaizen/plugins/RepositoryPlugin.groovy b/src/main/groovy/kaizen/plugins/repository/RepositoryPlugin.groovy similarity index 92% rename from src/main/groovy/kaizen/plugins/RepositoryPlugin.groovy rename to src/main/groovy/kaizen/plugins/repository/RepositoryPlugin.groovy index 1bfec21..c53ad80 100644 --- a/src/main/groovy/kaizen/plugins/RepositoryPlugin.groovy +++ b/src/main/groovy/kaizen/plugins/repository/RepositoryPlugin.groovy @@ -1,4 +1,4 @@ -package kaizen.plugins +package kaizen.plugins.repository import org.gradle.api.Project import org.gradle.api.Plugin diff --git a/src/main/groovy/kaizen/plugins/Unity.groovy b/src/main/groovy/kaizen/plugins/unity/Unity.groovy similarity index 88% rename from src/main/groovy/kaizen/plugins/Unity.groovy rename to src/main/groovy/kaizen/plugins/unity/Unity.groovy index 811dcc7..5cc295b 100755 --- a/src/main/groovy/kaizen/plugins/Unity.groovy +++ b/src/main/groovy/kaizen/plugins/unity/Unity.groovy @@ -1,5 +1,7 @@ -package kaizen.plugins +package kaizen.plugins.unity +import kaizen.plugins.clr.FrameworkLocator +import kaizen.plugins.clr.MonoFramework import org.gradle.api.Project import kaizen.foundation.SystemInformation diff --git a/src/main/groovy/kaizen/plugins/UnityPlugin.groovy b/src/main/groovy/kaizen/plugins/unity/UnityPlugin.groovy similarity index 83% rename from src/main/groovy/kaizen/plugins/UnityPlugin.groovy rename to src/main/groovy/kaizen/plugins/unity/UnityPlugin.groovy index 62c8797..8c6d633 100755 --- a/src/main/groovy/kaizen/plugins/UnityPlugin.groovy +++ b/src/main/groovy/kaizen/plugins/unity/UnityPlugin.groovy @@ -1,4 +1,4 @@ -package kaizen.plugins +package kaizen.plugins.unity import org.gradle.api.Project import org.gradle.api.Plugin diff --git a/src/main/resources/META-INF/gradle-plugins/kaizen-repository.properties b/src/main/resources/META-INF/gradle-plugins/kaizen-repository.properties index d411e8b..306eaae 100755 --- a/src/main/resources/META-INF/gradle-plugins/kaizen-repository.properties +++ b/src/main/resources/META-INF/gradle-plugins/kaizen-repository.properties @@ -1 +1 @@ -implementation-class=kaizen.plugins.RepositoryPlugin +implementation-class=kaizen.plugins.repository.RepositoryPlugin diff --git a/src/main/resources/META-INF/gradle-plugins/unity.properties b/src/main/resources/META-INF/gradle-plugins/unity.properties index 36526bd..8b8c68b 100755 --- a/src/main/resources/META-INF/gradle-plugins/unity.properties +++ b/src/main/resources/META-INF/gradle-plugins/unity.properties @@ -1 +1 @@ -implementation-class=kaizen.plugins.UnityPlugin +implementation-class=kaizen.plugins.unity.UnityPlugin diff --git a/src/test/groovy/kaizen/plugins/DirectoryIndexerSpec.groovy b/src/test/groovy/kaizen/plugins/DirectoryIndexerSpec.groovy index 17d3748..7f18fb3 100644 --- a/src/test/groovy/kaizen/plugins/DirectoryIndexerSpec.groovy +++ b/src/test/groovy/kaizen/plugins/DirectoryIndexerSpec.groovy @@ -1,5 +1,6 @@ package kaizen.plugins +import kaizen.plugins.repository.DirectoryIndexer import spock.lang.Specification class DirectoryIndexerSpec extends Specification { diff --git a/src/test/groovy/kaizen/plugins/UnityPluginSpec.groovy b/src/test/groovy/kaizen/plugins/UnityPluginSpec.groovy index 0803082..62f7c94 100755 --- a/src/test/groovy/kaizen/plugins/UnityPluginSpec.groovy +++ b/src/test/groovy/kaizen/plugins/UnityPluginSpec.groovy @@ -1,5 +1,6 @@ package kaizen.plugins +import kaizen.plugins.unity.UnityPlugin import spock.lang.* import org.gradle.testfixtures.ProjectBuilder import kaizen.foundation.SystemInformation