Skip to content

jonapoul/ktak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ktak

License GitHub Release
Maven Version

Summary

This is a set of libraries to hold a bunch of common components and utility classes/functions that I find useful for developing ATAK plugins using Kotlin. Also includes a framework for developing plugin UIs with Jetpack Compose.

No real documentation (yet?).

Usage

Add mavenCentral() to your repositories block. This might be in your root build.gradle.kts file, or in settings.gradle.kts - depending on how your project is set up.

Then add the dependencies build files to your project as below, using the latest release in this repo as the version:

dependencies {
  val latestVersion: String = ...

  // Regular ATAK
  implementation("dev.jonpoulton.ktak:core:${latestVersion}")
  implementation("dev.jonpoulton.ktak:plugin:${latestVersion}")
  implementation("dev.jonpoulton.ktak:poolingcontainer:${latestVersion}")
  implementation("dev.jonpoulton.ktak:res:${latestVersion}")
  implementation("dev.jonpoulton.ktak:ui:${latestVersion}")

  // Dependency Injection base utilities (framework-agnostic)
  implementation("dev.jonpoulton.ktak:di:${latestVersion}")

  // Jetpack Compose
  implementation("dev.jonpoulton.ktak:compose-components:${latestVersion}")
  implementation("dev.jonpoulton.ktak:compose-core:${latestVersion}")
  implementation("dev.jonpoulton.ktak:compose-icons:${latestVersion}")
  implementation("dev.jonpoulton.ktak:compose-navigation:${latestVersion}")
  implementation("dev.jonpoulton.ktak:compose-preview:${latestVersion}")
}

TODO

  • Fix janky icons
  • Write docs?
    • Add sample plugin project?

About

Utility library for writing ATAK plugins with Kotlin

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages