Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions src/main/kotlin/com/teamdev/jxbrowser/gradle/JxBrowserExtension.kt
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,20 @@ public open class JxBrowserExtension(
*/
public val macArm: Provider<String> = artifact("mac-arm")

/**
* Returns a dependency notation for the `jxbrowser-mac-mas`,
* an artifact with Chromium macOS (Intel) binaries that comply
* with Mac App Store distribution requirements.
*/
public val macMas: Provider<String> = artifact("mac-mas")

/**
* Returns a dependency notation for the `jxbrowser-mac-mas-arm`,
* an artifact with Chromium macOS ARM (Apple Silicon) binaries that comply
* with Mac App Store distribution requirements.
*/
public val macMasArm: Provider<String> = artifact("mac-mas-arm")

/**
* Returns a dependency notation for the `jxbrowser-cross-platform`,
* an artifact that includes binaries for all supported platforms.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@ internal class JxBrowserPluginFunctionalTest {
"jxbrowser-linux64-$jxBrowserVersion.jar",
"jxbrowser-linux64-arm-$jxBrowserVersion.jar",
"jxbrowser-mac-$jxBrowserVersion.jar",
"jxbrowser-mac-mas-$jxBrowserVersion.jar",
"jxbrowser-mac-arm-$jxBrowserVersion.jar",
"jxbrowser-mac-mas-arm-$jxBrowserVersion.jar",
"jxbrowser-kotlin-$jxBrowserVersion.jar",
"jxbrowser-compose-$jxBrowserVersion.jar",
"jxbrowser-win64-arm-$jxBrowserVersion.jar",
Expand All @@ -121,7 +123,9 @@ internal class JxBrowserPluginFunctionalTest {
"toCopy"(jxbrowser.swing)
"toCopy"(jxbrowser.javafx)
"toCopy"(jxbrowser.mac)
"toCopy"(jxbrowser.macMas)
"toCopy"(jxbrowser.macArm)
"toCopy"(jxbrowser.macMasArm)
"toCopy"(jxbrowser.win32)
"toCopy"(jxbrowser.win64)
"toCopy"(jxbrowser.linux64)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,14 @@ internal class JxBrowserPluginTest {

swt.get() shouldBe "$group:jxbrowser-swt:$jxBrowserVersion"
mac.get() shouldBe "$group:jxbrowser-mac:$jxBrowserVersion"
macMas.get() shouldBe "$group:jxbrowser-mac-mas:$jxBrowserVersion"
core.get() shouldBe "$group:jxbrowser:$jxBrowserVersion"
swing.get() shouldBe "$group:jxbrowser-swing:$jxBrowserVersion"
win32.get() shouldBe "$group:jxbrowser-win32:$jxBrowserVersion"
win64.get() shouldBe "$group:jxbrowser-win64:$jxBrowserVersion"
javafx.get() shouldBe "$group:jxbrowser-javafx:$jxBrowserVersion"
macArm.get() shouldBe "$group:jxbrowser-mac-arm:$jxBrowserVersion"
macMasArm.get() shouldBe "$group:jxbrowser-mac-mas-arm:$jxBrowserVersion"
kotlin.get() shouldBe "$group:jxbrowser-kotlin:$jxBrowserVersion"
winArm.get() shouldBe "$group:jxbrowser-win64-arm:$jxBrowserVersion"
compose.get() shouldBe "$group:jxbrowser-compose:$jxBrowserVersion"
Expand Down
Loading