File tree Expand file tree Collapse file tree
src/main/kotlin/com/teamdev/jxbrowser/gradle Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -216,12 +216,6 @@ public open class JxBrowserExtension(
216216 shortName : String ,
217217 version : String ,
218218 ) {
219- val artifactNameToReleaseVersion =
220- mapOf (
221- " compose" to " 8.0.0" ,
222- " kotlin" to " 8.0.0" ,
223- " win64-arm" to " 8.0.0" ,
224- )
225219 val artifactReleaseVersion = artifactNameToReleaseVersion[shortName]
226220 if (artifactReleaseVersion != null ) {
227221 val releaseVersion = Semver (artifactReleaseVersion)
@@ -234,5 +228,16 @@ public open class JxBrowserExtension(
234228
235229 private companion object {
236230 private const val GROUP = " com.teamdev.jxbrowser"
231+
232+ /* *
233+ * Maps an artifact short name to the first JxBrowser version that supports it.
234+ */
235+ private val artifactNameToReleaseVersion =
236+ mapOf (
237+ " compose" to " 8.0.0" ,
238+ " kotlin" to " 8.0.0" ,
239+ " win64-arm" to " 8.0.0" ,
240+ " native-image" to " 9.0.0" ,
241+ )
237242 }
238243}
You can’t perform that action at this time.
0 commit comments