Skip to content

Setting Up

Thomas Cashman edited this page Oct 31, 2020 · 8 revisions

To add miniscript to your project, choose your preferred scripting language and add its corresponding dependency to your build.gradle (or pom.xml).

Scripting Language Gradle Dependency
Groovy compile "org.mini2Dx:miniscript-groovy:1.4.0"
Kotlin compile "org.mini2Dx:miniscript-kotlin:1.4.0"
Lua compile "org.mini2Dx:miniscript-lua:1.4.0"
Python compile "org.mini2Dx:miniscript-python:1.4.0"
Ruby compile "org.mini2Dx:miniscript-ruby:1.4.0"

If you plan to use your scripting on Android, add the following dependency to your android project.

compile "com.wu-man:android-bsf-api:3.1.3"