-
-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(apple): rework apple to support additional targets
- Loading branch information
Showing
220 changed files
with
1,137 additions
and
936 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
...endor/ios/AppleTestBundleConfiguration.kt → ...dor/apple/AppleTestBundleConfiguration.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...n/config/vendor/ios/RsyncConfiguration.kt → ...config/vendor/apple/RsyncConfiguration.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...hon/config/vendor/ios/SshConfiguration.kt → ...n/config/vendor/apple/SshConfiguration.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...fig/vendor/ios/TestParserConfiguration.kt → ...g/vendor/apple/TestParserConfiguration.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...iy/marathon/config/vendor/ios/TestType.kt → .../marathon/config/vendor/apple/TestType.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...nfig/vendor/ios/ThreadingConfiguration.kt → ...ig/vendor/apple/ThreadingConfiguration.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...kiy/marathon/config/vendor/ios/Display.kt → ...rathon/config/vendor/apple/ios/Display.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...nfig/vendor/ios/LifecycleConfiguration.kt → ...endor/apple/ios/LifecycleConfiguration.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...inskiy/marathon/config/vendor/ios/Mask.kt → .../marathon/config/vendor/apple/ios/Mask.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ig/vendor/ios/PermissionsConfiguration.kt → ...dor/apple/ios/PermissionsConfiguration.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...g/vendor/ios/ScreenRecordConfiguration.kt → ...or/apple/ios/ScreenRecordConfiguration.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...fig/vendor/ios/ScreenshotConfiguration.kt → ...ndor/apple/ios/ScreenshotConfiguration.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...config/vendor/ios/SigningConfiguration.kt → .../vendor/apple/ios/SigningConfiguration.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...config/vendor/ios/TimeoutConfiguration.kt → .../vendor/apple/ios/TimeoutConfiguration.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...n/config/vendor/ios/VideoConfiguration.kt → ...ig/vendor/apple/ios/VideoConfiguration.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...onfig/vendor/ios/XcresultConfiguration.kt → ...vendor/apple/ios/XcresultConfiguration.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
.../src/main/kotlin/com/malinskiy/marathon/config/vendor/apple/macos/TimeoutConfiguration.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.malinskiy.marathon.config.vendor.apple.macos | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty | ||
import java.time.Duration | ||
import java.time.temporal.ChronoUnit | ||
|
||
/** | ||
* @param shell default timeout for shell commands | ||
* @param shellIdle default idling timeout for shell commands | ||
* @param reachability timeout for inactive remote host | ||
*/ | ||
data class TimeoutConfiguration( | ||
@JsonProperty("shell") var shell: Duration = Duration.ofSeconds(30), | ||
@JsonProperty("shellIdle") var shellIdle: Duration = Duration.ofSeconds(30), | ||
@JsonProperty("reachability") var reachability: Duration = Duration.ofSeconds(5), | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,45 @@ | ||
import com.malinskiy.marathon.buildsystem.XcresulttoolPlugin | ||
|
||
plugins { | ||
`java-library` | ||
jacoco | ||
id("org.jetbrains.kotlin.jvm") | ||
id("org.jetbrains.dokka") | ||
} | ||
|
||
apply<XcresulttoolPlugin>() | ||
|
||
dependencies { | ||
api(Libraries.kotlinStdLib) | ||
api(Libraries.kotlinCoroutines) | ||
api(Libraries.kotlinLogging) | ||
api(Libraries.kotlinReflect) | ||
api(Libraries.logbackClassic) | ||
api(Libraries.ddPlist) | ||
api(Libraries.guava) | ||
api(Libraries.rsync4j) | ||
|
||
api(Libraries.gson) | ||
api(Libraries.jacksonKotlin) | ||
api(Libraries.jacksonYaml) | ||
api(Libraries.jansi) | ||
api(Libraries.kotlinProcess) | ||
api(Libraries.sshj) | ||
|
||
api(project(":core")) | ||
|
||
testImplementation(TestLibraries.kluent) | ||
testImplementation(TestLibraries.assertk) | ||
testImplementation(TestLibraries.mockitoKotlin) | ||
testImplementation(TestLibraries.testContainers) | ||
testImplementation(TestLibraries.testContainersJupiter) | ||
testImplementation(TestLibraries.junit5) | ||
testImplementation(TestLibraries.coroutinesTest) | ||
testRuntimeOnly(TestLibraries.jupiterEngine) | ||
} | ||
|
||
setupDeployment() | ||
setupKotlinCompiler() | ||
setupTestTask() | ||
|
||
tasks.findByPath("sourcesJar")?.dependsOn(tasks.findByPath("generateXcresulttoolSource")) |
Oops, something went wrong.