基于Gluon-mobile与Java9的iOS平台MultiView FXML项目构建
基于Gluon-mobile与Java9在iOS平台构建MultiView FXML项目教程
我来一步步带你搞定用Gluon-mobile搭配Java9在iOS平台搭建MultiView FXML项目,跟着步骤走就行:
- 第一步:先创建一个全新的MultiView FXML项目,这是搭建的基础
- 第二步:找到项目中的Gradle配置文件,添加Java9相关的配置内容,具体代码如下:
buildscript { repositories { jcenter() google() maven{ url 'http://nexus.gluonhq.com/nexus/content/repositories/releases' } } dependencies { classpath 'org.javafxports:jfxmobile-plugin:2.0.5' } } // 此处省略项目其他默认配置内容... sourceCompatibility = 1.8 targetCompatibility = 1.8 // 此处省略项目其他默认配置内容... dependencies { compile 'com.gluonhq:charm:4.4.0-jdk9' androidRuntime 'com.gluonhq:charm:4.4.1' compile 'com.airhacks:afterburner.mfx:1.6.3' // 可在此添加你需要的其他依赖 }
内容的提问来源于stack exchange,提问作者Viktor Stojanov
相关产品推荐
相关产品推荐

