gluonfx-gradle-plugin | simplifies using Gluon Client for Java/JavaFX gradle | Plugin library
kandi X-RAY | gluonfx-gradle-plugin Summary
kandi X-RAY | gluonfx-gradle-plugin Summary
Plugin that simplifies using Gluon Client for Java/JavaFX gradle projects
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Create the native agent
- Create filter file
- Creates a substration dispatcher
- Generate dependencyNotation map
- Returns the service name
- Returns the target for the target
- Runs the application
- Creates a task
- Configures the attach services
- Adds a list of service
- Release release configuration
- Attaches the given configuration to the configuration
- Sets the list of bundles
- Sets the compiler arguments
- Sets the jni list
- Sets reflection list
- Sets the linker args
- Sets compiler arguments
- Sets the configuration
- Build client native compile action
- Sets the list of resources
- Client native run method
- Compares two AttachServiceDefinition
- Package package
- Performs the native link
- Installs the native library
gluonfx-gradle-plugin Key Features
gluonfx-gradle-plugin Examples and Code Snippets
gluonfx {
target = "$target"
attachConfig {
version = "$version"
configuration = "implementation";
services "lifecycle", ...
}
bundlesList = []
resourcesList = []
reflectionList = []
jniList = []
plugins {
id 'com.gluonhq.gluonfx-gradle-plugin' version '1.0.10'
}
pluginManagement {
repositories {
gradlePluginPortal()
}
}
rootProject.name = ...
buildscript {
repositories {
maven {
url "https://plug
./gradlew clean build
./gradlew run
./gradlew nativeRunAgent
./gradlew build nativeCompile
./gradlew nativeLink
./gradlew nativeRun
./gradlew build nativeBuild nativeRun
build/gluonfx/$hostPlatform/$AppName/$AppName
./gradlew nativePackage
Community Discussions
Trending Discussions on gluonfx-gradle-plugin
QUESTION
How do i enable multiDex for classes so they can be included or traced on the DexPathList?
I am using graalvm (with native-image) and gluonfx nativePackage task to generate the apk.
...ANSWER
Answered 2021-Aug-06 at 17:08The initial question is about adding Java code to the Android sources, before packaging the project into the final APK.
Modifying the Android projectSince there is no automatic procedure from the gluonfx plugin yet, it is a manual process:
Run
mvn -Pandroid gluonfx:build gluonfx:package
once, that will create the Android project undertarget/gluonfx/aarch64-android/gvm/android_project
.Add the Java/Android sources to
target/gluonfx/aarch64-android/gvm/android_project/app/src/main/java
Build manually the APK:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gluonfx-gradle-plugin
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page