Merge pull request #14402 from rjernst/reorganize_rr_gradle_plugin

Move RR gradle plugin files to match external repo paths
This commit is contained in:
Ryan Ernst 2015-10-30 15:20:09 -07:00
commit 0a4fa7453b
16 changed files with 17 additions and 17 deletions

View File

@ -1,4 +1,4 @@
package com.carrotsearch.gradle.randomizedtesting
package com.carrotsearch.gradle.junit4
import com.carrotsearch.ant.tasks.junit4.SuiteBalancer
import com.carrotsearch.ant.tasks.junit4.balancers.ExecutionTimeBalancer

View File

@ -1,4 +1,4 @@
package com.carrotsearch.gradle.randomizedtesting
package com.carrotsearch.gradle.junit4
import com.carrotsearch.ant.tasks.junit4.listeners.AggregatedEventListener
import com.carrotsearch.ant.tasks.junit4.listeners.antxml.AntXmlReport

View File

@ -1,4 +1,4 @@
package com.carrotsearch.gradle.randomizedtesting
package com.carrotsearch.gradle.junit4
import org.gradle.api.logging.LogLevel
import org.gradle.api.logging.Logger

View File

@ -1,4 +1,4 @@
package com.carrotsearch.gradle.randomizedtesting
package com.carrotsearch.gradle.junit4
import com.carrotsearch.ant.tasks.junit4.JUnit4
import org.gradle.api.AntBuilder

View File

@ -1,4 +1,4 @@
package com.carrotsearch.gradle.randomizedtesting
package com.carrotsearch.gradle.junit4
import com.carrotsearch.ant.tasks.junit4.ListenersList
import com.carrotsearch.ant.tasks.junit4.listeners.AggregatedEventListener

View File

@ -1,4 +1,4 @@
package com.carrotsearch.gradle.randomizedtesting
package com.carrotsearch.gradle.junit4
class SlowTestsConfiguration {
int heartbeat = 0

View File

@ -1,4 +1,4 @@
package com.carrotsearch.gradle.randomizedtesting
package com.carrotsearch.gradle.junit4
class StackTraceFiltersConfiguration {
List<String> patterns = new ArrayList<>()

View File

@ -1,4 +1,4 @@
package com.carrotsearch.gradle.randomizedtesting
package com.carrotsearch.gradle.junit4
import org.gradle.util.ConfigureUtil

View File

@ -17,7 +17,7 @@
* under the License.
*/
package com.carrotsearch.gradle.randomizedtesting
package com.carrotsearch.gradle.junit4
import com.carrotsearch.ant.tasks.junit4.JUnit4
import com.carrotsearch.ant.tasks.junit4.dependencies.com.google.common.eventbus.Subscribe

View File

@ -1,4 +1,4 @@
package com.carrotsearch.gradle.randomizedtesting
package com.carrotsearch.gradle.junit4
import com.carrotsearch.ant.tasks.junit4.JUnit4
import com.carrotsearch.ant.tasks.junit4.Pluralize
@ -18,7 +18,7 @@ import org.junit.runner.Description
import java.util.concurrent.atomic.AtomicInteger
import static com.carrotsearch.ant.tasks.junit4.FormattingUtils.*
import static com.carrotsearch.gradle.randomizedtesting.TestLoggingConfiguration.OutputMode
import static com.carrotsearch.gradle.junit4.TestLoggingConfiguration.OutputMode
class TestReportLogger extends TestsSummaryEventListener implements AggregatedEventListener {

View File

@ -37,7 +37,7 @@ class BuildPlugin implements Plugin<Project> {
void apply(Project project) {
globalBuildInfo(project)
project.pluginManager.apply('java')
project.pluginManager.apply('carrotsearch.randomizedtesting')
project.pluginManager.apply('carrotsearch.randomized-testing')
// these plugins add lots of info to our jars
project.pluginManager.apply('nebula.info-broker')
project.pluginManager.apply('nebula.info-basic')

View File

@ -18,7 +18,7 @@
*/
package org.elasticsearch.gradle.test
import com.carrotsearch.gradle.randomizedtesting.RandomizedTestingTask
import com.carrotsearch.gradle.junit4.RandomizedTestingTask
import org.elasticsearch.gradle.BuildPlugin
import org.gradle.api.Project
import org.gradle.api.Task

View File

@ -18,7 +18,7 @@
*/
package org.elasticsearch.gradle.test
import com.carrotsearch.gradle.randomizedtesting.RandomizedTestingTask
import com.carrotsearch.gradle.junit4.RandomizedTestingTask
import org.elasticsearch.gradle.ElasticsearchProperties
import org.gradle.api.Plugin
import org.gradle.api.Project
@ -29,7 +29,7 @@ class RestTestPlugin implements Plugin<Project> {
@Override
void apply(Project project) {
project.pluginManager.apply('java-base')
project.pluginManager.apply('carrotsearch.randomizedtesting')
project.pluginManager.apply('carrotsearch.randomized-testing')
project.pluginManager.apply('idea')
// remove some unnecessary tasks for a qa test

View File

@ -0,0 +1 @@
implementation-class=com.carrotsearch.gradle.junit4.RandomizedTestingPlugin

View File

@ -1 +0,0 @@
implementation-class=com.carrotsearch.gradle.randomizedtesting.RandomizedTestingPlugin

View File

@ -17,7 +17,7 @@
* under the License.
*/
import com.carrotsearch.gradle.randomizedtesting.RandomizedTestingTask
import com.carrotsearch.gradle.junit4.RandomizedTestingTask
import org.elasticsearch.gradle.BuildPlugin
import org.elasticsearch.gradle.test.RestSpecHack