File tree Expand file tree Collapse file tree 10 files changed +30
-30
lines changed
src/intiTest/kotlin/com/github/jengelman/gradle/plugins/shadow Expand file tree Collapse file tree 10 files changed +30
-30
lines changed Original file line number Diff line number Diff line change 1
- package com.github.jengelman.gradle.plugins.shadow.doc
1
+ package com.github.jengelman.gradle.plugins.shadow
2
2
3
- import com.github.jengelman.gradle.plugins.shadow.doc. executable.CodeSnippetExtractor
4
- import com.github.jengelman.gradle.plugins.shadow.doc. executor.GroovyBuildExecutor
5
- import com.github.jengelman.gradle.plugins.shadow.doc. executor.NoopExecutor
6
- import com.github.jengelman.gradle.plugins.shadow.doc. fixture.GroovyDslFixture
3
+ import com.github.jengelman.gradle.plugins.shadow.executable.CodeSnippetExtractor
4
+ import com.github.jengelman.gradle.plugins.shadow.executor.GroovyBuildExecutor
5
+ import com.github.jengelman.gradle.plugins.shadow.executor.NoopExecutor
6
+ import com.github.jengelman.gradle.plugins.shadow.fixture.GroovyDslFixture
7
7
import java.nio.file.Path
8
8
import kotlin.io.path.Path
9
9
import org.junit.jupiter.api.DynamicTest
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- package com.github.jengelman.gradle.plugins.shadow.doc. executable
1
+ package com.github.jengelman.gradle.plugins.shadow.executable
2
2
3
- import com.github.jengelman.gradle.plugins.shadow.doc. executor.SnippetExecutor
3
+ import com.github.jengelman.gradle.plugins.shadow.executor.SnippetExecutor
4
4
import java.nio.file.Path
5
5
import kotlin.io.path.createTempDirectory
6
6
import org.junit.jupiter.api.function.Executable
Original file line number Diff line number Diff line change 1
- package com.github.jengelman.gradle.plugins.shadow.doc. executable
1
+ package com.github.jengelman.gradle.plugins.shadow.executable
2
2
3
- import com.github.jengelman.gradle.plugins.shadow.doc. DocCodeSnippetTest
4
- import com.github.jengelman.gradle.plugins.shadow.doc. executor.SnippetExecutor
3
+ import com.github.jengelman.gradle.plugins.shadow.DocCodeSnippetTest
4
+ import com.github.jengelman.gradle.plugins.shadow.executor.SnippetExecutor
5
5
import java.nio.file.Path
6
6
import java.util.regex.Pattern
7
7
import kotlin.io.path.ExperimentalPathApi
Original file line number Diff line number Diff line change 1
- package com.github.jengelman.gradle.plugins.shadow.doc. executor
1
+ package com.github.jengelman.gradle.plugins.shadow.executor
2
2
3
- import com.github.jengelman.gradle.plugins.shadow.doc. fixture.SnippetFixture
3
+ import com.github.jengelman.gradle.plugins.shadow.fixture.SnippetFixture
4
4
import java.nio.file.Path
5
5
import kotlin.io.path.createDirectory
6
6
import kotlin.io.path.writeText
Original file line number Diff line number Diff line change 1
- package com.github.jengelman.gradle.plugins.shadow.doc. executor
1
+ package com.github.jengelman.gradle.plugins.shadow.executor
2
2
3
- import com.github.jengelman.gradle.plugins.shadow.doc. fixture.SnippetFixture
3
+ import com.github.jengelman.gradle.plugins.shadow.fixture.SnippetFixture
4
4
import java.nio.file.Path
5
5
6
6
object NoopExecutor : SnippetExecutor {
Original file line number Diff line number Diff line change
1
+ package com.github.jengelman.gradle.plugins.shadow.executor
2
+
3
+ import com.github.jengelman.gradle.plugins.shadow.fixture.SnippetFixture
4
+ import java.nio.file.Path
5
+
6
+ interface SnippetExecutor {
7
+ val fixture: SnippetFixture
8
+
9
+ fun execute (tempDir : Path , snippet : String )
10
+ }
Original file line number Diff line number Diff line change 1
- package com.github.jengelman.gradle.plugins.shadow.doc. fixture
1
+ package com.github.jengelman.gradle.plugins.shadow.fixture
2
2
3
3
object GroovyDslFixture : SnippetFixture {
4
4
Original file line number Diff line number Diff line change
1
+ package com.github.jengelman.gradle.plugins.shadow.fixture
2
+
3
+ interface SnippetFixture {
4
+ val pre: String
5
+ }
You can’t perform that action at this time.
0 commit comments