Skip to content

Commit a9d08bd

Browse files
Fix the artifact name for Windows ARM (#56)
1 parent 26bb8d5 commit a9d08bd

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ A Gradle plug-in that provides convenience methods for adding JxBrowser dependen
88
import com.teamdev.jxbrowser.gradle.Repository
99

1010
plugins {
11-
id("com.teamdev.jxbrowser") version "1.2.0"
11+
id("com.teamdev.jxbrowser") version "1.2.1"
1212
}
1313

1414
jxbrowser {
@@ -48,7 +48,7 @@ dependencies {
4848
implementation(jxbrowser.macArm)
4949
implementation(jxbrowser.win32)
5050
implementation(jxbrowser.win64)
51-
implementation(jxbrowser.win64Arm)
51+
implementation(jxbrowser.winArm)
5252
implementation(jxbrowser.linux64)
5353
implementation(jxbrowser.linuxArm)
5454
}

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2222

2323
object BuildSettings {
2424
const val GROUP = "com.teamdev.jxbrowser"
25-
const val VERSION = "1.2.0"
25+
const val VERSION = "1.2.1"
2626
const val JXBROWSER_VERSION = "8.0.0"
2727
val javaVersion = JavaVersion.VERSION_1_8
2828
}

src/main/kotlin/com/teamdev/jxbrowser/gradle/JxBrowserExtension.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public open class JxBrowserExtension(private val project: Project) {
123123
*
124124
* Windows ARM is only supported in JxBrowser 8.x.x.
125125
*/
126-
public val win64Arm: Provider<String> = artifact("win64-arm")
126+
public val winArm: Provider<String> = artifact("win64-arm")
127127

128128
/**
129129
* Returns a dependency notation for the `jxbrowser-linux64`,
@@ -166,7 +166,7 @@ public open class JxBrowserExtension(private val project: Project) {
166166
mapOf(
167167
{ isX64Bit() && isWindows() } to win64,
168168
{ is32Bit() && isWindows() } to win32,
169-
{ isArm() && isWindows() } to win64Arm,
169+
{ isArm() && isWindows() } to winArm,
170170
{ isX64Bit() && isLinux() } to linux64,
171171
{ isX64Bit() && isMac() } to mac,
172172
{ isArm() && isLinux() } to linuxArm,

src/test/kotlin/com/teamdev/jxbrowser/gradle/JxBrowserPluginFunctionalTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ internal class JxBrowserPluginFunctionalTest {
173173
"toCopy"(jxbrowser.core)
174174
"toCopy"(jxbrowser.kotlin)
175175
"toCopy"(jxbrowser.compose)
176-
"toCopy"(jxbrowser.win64Arm)
176+
"toCopy"(jxbrowser.winArm)
177177
}
178178
179179
tasks.register<Copy>("$taskName") {
@@ -197,7 +197,7 @@ internal class JxBrowserPluginFunctionalTest {
197197
@Test
198198
fun `fail to download unsupported artifacts`() {
199199
val jxBrowserVersion = "7.40.0" // This version doesn't contain artifacts bellow.
200-
val unsupportedArtifacts = listOf("kotlin", "compose", "win64-arm")
200+
val unsupportedArtifacts = listOf("kotlin", "compose", "winArm")
201201

202202
for (artifact in unsupportedArtifacts) {
203203
buildFile.writeText(

0 commit comments

Comments
 (0)