Skip to content

Freeline DSL References

Yong edited this page Sep 22, 2016 · 3 revisions

Properties

Property Description
hack The global switch for freeline hack process.
buildScript The build script for your project.
productFlavor The flavor your debuggable project use.
apkPath The path of the build output apk file which would be installed to your device.
extraResourceDependencyPaths The extra resources dependency paths which would be added to the aapt options.
excludeResourceDependencyPaths The resources dependency paths which would be removed from the aapt options.
excludeHackClasses The classes which would skip the freeline class-inject process.
packageName Added in 0.5.5, specify your package name.
launcher Added in 0.5.5, specify your application launcher.
applicationProxy Added in 0.7.0, the switch for application proxy.
autoDependency Added in 0.7.0, the switch for automatically adding freeline runtime dependencies.

Property details

boolean hack

The global switch for freeline hack process, the default value is false.

String buildScript

The build script for your project, the default value is gradle assemble{ProductFlavor}Debug.

String productFlavor

The flavor your debuggable project use, the default is empty.

apkPath

The path of the build output apk file which would be installed to your device, the default value is {main_module_dir}/build/outputs/apk/{main_module_name}-debug.apk.

extraResourceDependencyPaths

The extra resources dependency paths which would be added to the aapt options, the default value is empty.

excludeResourceDependencyPaths

The resources dependency paths which would be removed from the aapt options, the default value is empty.

excludeHackClasses

The classes which would skip the freeline class-inject process, the default value is the class which has a parent class 'android/app/Application'.

packageName

Specify your package name for your application, the default value is the applicationId in the build.gradle.

launcher

Specify your application launcher for your application.

applicationProxy

The switch for application proxy, the default value is true.

autoDependency

The switch for automatically adding freeline runtime dependencies, the default value is true.