在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):robovm/robovm-gradle-plugin开源软件地址(OpenSource Url):https://github.com/robovm/robovm-gradle-plugin开源编程语言(OpenSource Language):Java 91.8%开源软件介绍(OpenSource Introduction):RoboVM Gradle pluginUsageTo use the RoboVM plugin, include in your build script: // Pull the plugin from Maven Central
buildscript {
project.ext.roboVMVersion = "1.12.0"
project.ext.roboVMGradleVersion = "1.12.0"
repositories {
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}
dependencies {
classpath group: 'org.robovm', name: 'robovm-gradle-plugin', version: project.roboVMGradleVersion
}
}
// Apply the plugin
apply plugin: 'robovm'
repositories {
mavenCentral()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}
dependencies {
compile group: 'org.robovm', name: 'robovm-rt', version: project.roboVMVersion
compile group: 'org.robovm', name: 'robovm-cocoatouch', version: project.roboVMVersion
}
robovm {
// Configure robovm
} TasksThe RoboVM plugin defines the following tasks:
Project propertiesThe simulator launcher properties can be set by project properties via
The arch can be specified using the
Make sure to specify a 64-bit capable device type to simulate, e.g. To launch on device in 64-bit mode:
The
The The
To enable bitcode when running
Headless code signingWhen building iOS/tvOS apps on a CI server robovm.keychainPasswordKeychain password to use when unlocking the robovm.keychainPasswordFileRead the keychain password to use when unlocking the License ManagementTo activate your license use the
To deactivate your license use the
DebuggingYou can instruct the RoboVM Gradle plugin to compile and run your app in debug mode:
You can then attach a debugger, e.g. the Eclipse or IntelliJ IDEA debugger via a remote run configuration. Simply set the host to Plugin DevelopmentTo debug the plugin, build and install it to your local repository. Next, set export GRADLE_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5006" You can now fire up a Gradle build for some test project. Gradle will wait for a JDWP debugger to attach. You can do so in Eclipse or Intellij IDEA. Note: if your test project uses the Gradle daemon, you have to disable it. Also, if you have a gradle.properties file specifying JVM arguments, Gradle will spawn a new JVM. You can remove/rename the gradle.properties file while debugging. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论