Setup¶
Android¶
- Add in your settings.gradle mavenCetral:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
//Stuff
mavenCentral()
}
}
- There are three versions for Android
Jetpack Compose
implementation("io.github.codandotv:craftd-compose:${last_version}")
XML View System
implementation("io.github.codandotv:craftd-xml:${last_version}")
Core
Core - Is meant to be used for you to customize even the craftD mechanism
implementation("io.github.codandotv:craftd-core:${last_version}")
iOS¶
- Add your pod ‘CraftDSwiftUI’
In Progress
This section is in progress…
Flutter¶
- Run this command with Flutter:
flutter pub add craftd_widget
This will add a line like this to your package’s pubspec.yaml (and run an implicit flutter pub get):
pubspec.yml
dependencies:
craftd_widget: $last_version