GithubHelp home page GithubHelp logo

zarechenskiy / kotlin-version-changer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from h0tk3y/kotlin-version-changer

0.0 2.0 0.0 69 KB

A tool for patching Gradle build scripts with newer Kotlin versions, meant for testing

Kotlin 100.00%

kotlin-version-changer's Introduction

kotlin-version-changer

A tool for patching Gradle build scripts with newer Kotlin versions, meant for testing

Usage

  1. Download a binary distribution from the releases page

  2. Unpack it and run bin/kotlin-version-changer or bin/kotlin-version-changer.bat, depending on your OS, with the parameters:

    • --project -- project root directory, e.g. C:\kotlin-gradle-test\
    • --version -- target Kotlin version, e.g. 1.1.2-eap-44
    • --destination -- destination to copy the project, process in place if not provided
    • --repository -- repository to add to buildscript and project, one of DEV, EAP, EAP12, LOCAL
    • --freeCompilerArgs -- a list of additional compiler arguments that will be passed to the compiler

    Example:

    kotlin-version-changer.bat --project C:\kotlin-gradle-test\ --version 1.2-M2 --repository EAP12 --freeCompilerArgs "-Xprogressive -XXLanguage:+NewInference"
    

This tool does not analyze extension variables like ext.kotlin_version, instead, the versions are changed directly in the dependency declarations. Also, this tool is not meant for the projects you work with, because it does not follow Gradle idioms.

kotlin-version-changer's People

Contributors

h0tk3y avatar zarechenskiy avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.