Skip to content

Commit

Permalink
Merge pull request #182 from Sineaggi/create-internal-collection-utils
Browse files Browse the repository at this point in the history
  • Loading branch information
big-guy authored Mar 30, 2023
2 parents bd3c33b + 0b07bb1 commit 2fff17d
Show file tree
Hide file tree
Showing 24 changed files with 493 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package org.gradle.playframework
import org.gradle.playframework.fixtures.multiversion.PlayCoverage
import org.gradle.playframework.fixtures.multiversion.PlayMultiVersionRunner
import org.gradle.playframework.fixtures.multiversion.TargetCoverage
import org.gradle.util.VersionNumber
import org.gradle.playframework.util.VersionNumber
import org.junit.runner.RunWith

@RunWith(PlayMultiVersionRunner)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@ package org.gradle.playframework.application

import org.gradle.playframework.PlayMultiVersionApplicationIntegrationTest
import org.gradle.playframework.fixtures.archive.ArchiveTestFixture
import org.gradle.playframework.fixtures.archive.JarTestFixture
import org.gradle.playframework.util.VersionNumber
import org.gradle.testkit.runner.BuildResult
import org.gradle.testkit.runner.TaskOutcome
import org.gradle.util.VersionNumber

import java.util.jar.Attributes

import static org.gradle.playframework.plugins.PlayApplicationPlugin.ASSETS_JAR_TASK_NAME
import static org.gradle.playframework.plugins.PlayRoutesPlugin.ROUTES_COMPILE_TASK_NAME
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package org.gradle.playframework.tasks

import org.gradle.playframework.PlayMultiVersionIntegrationTest
import org.gradle.playframework.util.VersionNumber
import org.gradle.testkit.runner.BuildResult
import org.gradle.testkit.runner.TaskOutcome
import org.gradle.util.VersionNumber
import org.junit.Assume

import static org.gradle.playframework.fixtures.Repositories.playRepositories
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.gradle.playframework.tasks

import org.gradle.playframework.util.VersionNumber
import org.gradle.testkit.runner.BuildResult
import org.gradle.testkit.runner.TaskOutcome
import org.gradle.util.VersionNumber
import org.junit.Assume

class Play24RoutesCompileIntegrationTest extends AbstractRoutesCompileIntegrationTest {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package org.gradle.playframework.tasks

import org.gradle.playframework.PlayMultiVersionIntegrationTest
import org.gradle.playframework.util.VersionNumber
import org.gradle.testkit.runner.BuildResult
import org.gradle.testkit.runner.TaskOutcome
import org.gradle.util.VersionNumber
import org.junit.Assume
import spock.lang.Unroll

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.gradle.playframework.fixtures.app

import org.gradle.util.VersionNumber
import org.gradle.playframework.util.VersionNumber

class AdvancedPlayApp extends PlayApp {
AdvancedPlayApp(VersionNumber version) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.gradle.playframework.fixtures.app

import org.gradle.util.VersionNumber
import org.gradle.playframework.util.VersionNumber

class BasicPlayApp extends PlayApp {
BasicPlayApp() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import freemarker.template.Configuration
import freemarker.template.Template
import freemarker.template.TemplateExceptionHandler
import org.gradle.playframework.extensions.PlayPlatform
import org.gradle.playframework.util.VersionNumber
import org.gradle.util.RelativePathUtil
import org.gradle.util.VersionNumber

import static org.gradle.playframework.fixtures.Repositories.playRepositories

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.gradle.playframework.fixtures.app

import org.gradle.util.VersionNumber
import org.gradle.playframework.util.VersionNumber

class PlayAppWithDependencies extends PlayApp {
PlayAppWithDependencies(VersionNumber version) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.gradle.playframework.fixtures.app

import org.gradle.util.VersionNumber
import org.gradle.playframework.util.VersionNumber

class PlayCompositeBuild extends PlayApp {
PlayCompositeBuild(VersionNumber version) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.gradle.playframework.fixtures.app

import org.gradle.util.VersionNumber
import org.gradle.playframework.util.VersionNumber

class PlayMultiProject extends PlayApp {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.gradle.playframework.fixtures.app

import org.gradle.util.VersionNumber
import org.gradle.playframework.util.VersionNumber

import static org.gradle.playframework.fixtures.Repositories.playRepositories

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package org.gradle.playframework.fixtures.ide
import groovy.transform.ToString
import groovy.util.slurpersupport.GPathResult
import org.gradle.internal.Transformers
import org.gradle.util.CollectionUtils
import org.gradle.playframework.util.CollectionUtils

class IdeaModuleFixture extends IdeProjectFixture {
private final GPathResult iml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.gradle.playframework.fixtures.multiversion

import org.gradle.util.VersionNumber
import org.gradle.playframework.util.VersionNumber

import static org.gradle.playframework.extensions.PlayPlatform.DEFAULT_PLAY_VERSION

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.gradle.playframework.fixtures.multiversion

import org.gradle.playframework.extensions.internal.PlayMajorVersion
import org.gradle.util.VersionNumber
import org.gradle.playframework.util.VersionNumber

import java.lang.annotation.Annotation

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import org.gradle.api.provider.Provider;
import org.gradle.api.tasks.Input;
import org.gradle.api.tasks.Internal;
import org.gradle.util.VersionNumber;
import org.gradle.playframework.util.VersionNumber;

import javax.inject.Inject;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import org.gradle.playframework.extensions.PlayPlatform;
import org.gradle.api.InvalidUserDataException;
import org.gradle.util.VersionNumber;
import org.gradle.playframework.util.VersionNumber;

import java.util.Arrays;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import org.gradle.playframework.tasks.PlayRun;
import org.gradle.playframework.tasks.RoutesCompile;
import org.gradle.playframework.tasks.TwirlCompile;
import org.gradle.util.VersionNumber;
import org.gradle.playframework.util.VersionNumber;

import java.util.Arrays;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import org.gradle.playframework.extensions.PlayPlatform;
import org.gradle.playframework.extensions.internal.PlayMajorVersion;
import org.gradle.util.VersionNumber;
import org.gradle.playframework.util.VersionNumber;

public class RoutesCompilerFactory {
public static RoutesCompiler create(PlayPlatform playPlatform) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.gradle.playframework.tools.internal.run;

import org.gradle.util.CollectionUtils;
import org.gradle.playframework.util.CollectionUtils;

import java.io.File;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import org.gradle.internal.FileUtils;
import org.gradle.playframework.tools.internal.scala.ScalaMethod;
import org.gradle.playframework.tools.internal.scala.ScalaOptionInvocationWrapper;
import org.gradle.util.CollectionUtils;
import org.gradle.playframework.util.CollectionUtils;

import java.io.File;
import java.io.Serializable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
import org.gradle.playframework.sourcesets.TwirlImports;
import org.gradle.playframework.sourcesets.TwirlTemplateFormat;
import org.gradle.playframework.tools.internal.scala.ScalaCodecMapper;
import org.gradle.playframework.tools.internal.scala.ScalaListBuffer;
import org.gradle.playframework.tools.internal.scala.ScalaMethod;
import org.gradle.playframework.tools.internal.scala.ScalaReflectionUtil;
import org.gradle.playframework.tools.internal.scala.ScalaSeq;
import org.gradle.util.CollectionUtils;
import org.gradle.util.VersionNumber;
import org.gradle.playframework.util.CollectionUtils;
import org.gradle.playframework.util.VersionNumber;

import java.io.File;
import java.util.ArrayList;
Expand Down
Loading

0 comments on commit 2fff17d

Please sign in to comment.