kinstall is an easy way to install gradle-based command-line kotlin projects that use the application plugin.

Related tags

Kotlin kinstall
Overview

kinstall

kinstall is an easy way to install gradle-based command-line kotlin projects that use the application plugin.

use

First, install kinstall itself by doing gradle build run. This will create a symlink at ~/bin/kinstall.

Run kinstall in the root project folder of a project on which you've already run distTar (build runs it).

You can add and remove multiple versions of a project, and list the projects you have installed (the version in current use will be marked with an asterisk).

Here's the usage for the kinstall command:

Usage:
    kinstall [options]
    kinstall --version
    kinstall -h | --help

Options:
    -l --list                                   list installs
    -r 
   
     --remove=
    
        remove an install
    -u 
     
       --use=
      
             use a specific version of an install

      
     
    
   

what it does

kinstall looks for tar files in build/distributions and extracts them to ~/.kinstall/{project}/{version}. The current version of a project that's in use is symlinked to ~/.kinstall/{project}/_current. When making a particular version current, kinstall looks for scripts in ~/.kinstall/{project}/_current/bin and symlinks them to ~/bin. It reports the symlinks it creates.

It gets the project's name and version by capturing and parsing the output of gradle properties --console=plain -q.

what it doesn't do

  • Handle parent/sub-project projects (it expects a single project).
  • Make sure your build is current.
  • Handle non-gradle ways of creating tarballs (it expects a tar file in build/distributions that has a bin subdirectory).
  • Attempt to correct for any manual changes to the files/symlinks in ~/.kinstall or ~/bin.
  • Handle maven projects.
You might also like...
 A Kotlin library providing a simple, high-performance way to use off-heap native memory in JVM applications.
A Kotlin library providing a simple, high-performance way to use off-heap native memory in JVM applications.

native_memory_allocator A library which uses sun.misc.Unsafe to allocate off-heap native memory. Motivation The goal of this project is to provide a s

Simple cron command runner for Bukkit 1.17+

Cron Runner Description / 설명 Simple cron command runner for Bukkit 1.17+ Bukkit 1.17 이상을 위한 간단한 cron 명령어 실행기 입니다. Configuration Guide (config.yml) deb

:bouquet: An easy way to persist and run code block only as many times as necessary on Android.
:bouquet: An easy way to persist and run code block only as many times as necessary on Android.

Only 💐 An easy way to persist and run code block only as many times as necessary on Android. Download Gradle Add below codes to your root build.gradl

Simple Android Library, that provides easy way to start the Activities with arguments.

Warning: Library is not maintained anymore. If you want to take care of this library, propose it via Pull Request. It needs adjustmensts for newer ver

:bouquet: An easy way to persist and run code block only as many times as necessary on Android.
:bouquet: An easy way to persist and run code block only as many times as necessary on Android.

Only 💐 An easy way to persist and run code block only as many times as necessary on Android. Download Gradle Add below codes to your root build.gradl

:closed_umbrella: An easy way to implement modern permission instructions popup.
:closed_umbrella: An easy way to implement modern permission instructions popup.

Needs An easy way to implement modern permission instructions popup. Needs can be fully customized and showing with animations. Download Gradle Add be

:performing_arts: An easy, flexible way to implement veil skeletons and shimmering effect for Android.
:performing_arts: An easy, flexible way to implement veil skeletons and shimmering effect for Android.

AndroidVeil An easy, flexible way to implement veil skeletons and shimmering effect for Android. Download Gradle Add below codes to your root build.gr

AdsManager - Easy way to implement Google Ads

AdsManager Easy way to implement Google Ads Implementaion: https://jitpack.io/#R

💫 A Gradle Plugin to generate your networking code from Swagger

Swagger Gradle Codegen A Gradle plugin to generate networking code from a Swagger spec file. This plugin wraps swagger-codegen, and exposes a configur

Owner
david kilmer
david kilmer
A declarative, Kotlin-idiomatic API for writing dynamic command line applications.

A declarative, Kotlin-idiomatic API for writing dynamic command line applications.

Varabyte 349 Jan 9, 2023
Utility - The cross-platform native Kotlin command line tool template

Utility The cross-platform native Kotlin command line tool template. Usage Make

null 0 Jan 3, 2022
A Gradle plugin for Kotlin Multiplatform projects that generate a XCFramework for Apple targets or a FatFramework for iOS targets, and manages the publishing process in a CocoaPod Repository.

KMP Framework Bundler KMP Framework Bundler is a Gradle plugin for Kotlin Multiplatform projects that generate a XCFramework for Apple targets or a Fa

Marco Gomiero 17 Oct 29, 2022
Run Minecraft on the command line

HeadlessForge While headless Minecraft Clients aren't anything new, they come with a drawback. The Minecraft API is missing and you need to add all fu

null 28 Oct 17, 2022
A fast-prototyping command line system

Kotlin-er CLI A different take on making command line programs, emphasizing development speed over customization Status Auto-deployed to Maven Central

Lightning Kite 22 Jan 22, 2022
Plugin for Minecraft Dev projects that allows use BON2 as analog of fg.reobf from ForgeGradle

Bon2Gradle Plugin for Minecraft Dev projects that allows use BON2 as analog of fg.reobf from ForgeGradle. Usage Dependencies Gradle 6.8+ (Provider as

Yaroslav Novitsky 3 Nov 10, 2022
A set of highly-opinionated, batteries-included gradle plugins to get you started building delicious multi-module Kotlin projects

Sourdough Gradle What is Sourdough Gradle? Sourdough is a set of highly opinionated gradle plugins that aim to act as the starter for your Kotlin proj

Backbone 0 Oct 3, 2022
The KPy gradle plugin allows you to write Kotlin/Native code and use it from python.

The KPy gradle plugin allows you to write Kotlin/Native code and use it from python.

Martmists 14 Dec 26, 2022
An Easy-to-use Kotlin based Customizable Modules Collection with Material Layouts by BlackBeared.

Fusion By BlackBeared An Easy-to-use Kotlin based Customizable Library with Material Layouts by @blackbeared. Features Custom Floating Action Buttons

Sandip Savaliya 38 Oct 5, 2022
Gradle plugin for simplify Kotlin Multiplatform mobile configurations

Mobile Multiplatform gradle plugin This is a Gradle plugin for simple setup of Kotlin Multiplatform mobile Gradle modules. Setup buildSrc/build.gradle

IceRock Development 78 Sep 27, 2022