Rush β€’ A new and improved way of building extensions

It happens when Rush fails to invoke javac. Please refer to the following post:

5 Likes

Thank you sooo much !

:sparkles: Rush v1.2.4


What's new :eyes:


  • Upgraded Kotlin compiler and standard library to version 1.5.32.

  • Upgraded Android platform SDK to version 31 (Android 12).

  • Added the ability to define the data required by the create command using CLI args. For example,

    rush create awesome-extension --lang Kotlin --org com.example
    
  • Added the ability to set custom data directory using the RUSH_DATA_DIR environment variable.

    RUSH_DATA_DIR="D:/rush/data-dir" rush build
    

Improvements :triangular_ruler:


  • You can now use W and S keys along with arrow keys to select the language when creating a new extension. This is especially helpful in terminals where Rush fails to read the arrow keys don't work.

  • Added source JARs for App Inventor components, annotations, and Kotlin standard library. This means you will now be able to view source code and Javadocs of the above libraries in your IDE.

Bug fixes :beetle:


  • Fixed the issue where extensions containing no blocks would cause compilation errors when exporting the app.

  • Fixed the issue that caused the unmappable character for encoding error in some cases when building the extension. [ref1, ref2].


To upgrade to Rush version 1.2.4 simply run rush upgrade. If you don't have Rush already installed check out the installation instruction mentioned in the first post.

Best,
Shreyash

6 Likes

Thank you Shreyas for the great Update

BTW @shreyash a silly advice
Is it possible to add aar files as deps
Or you could implement it in Rush

1 Like

Great update :partying_face:
Especially thanks for updating this, as its reported in many posts :grin:

:sparkles: Rush v1.2.5 HOTFIX


Bug fixes :beetle:


  • Fixed the bug that caused the builds to fail after upgrading Rush to version 1.2.4.

To upgrade to Rush version 1.2.5 simply run rush upgrade. If you don’t have Rush already installed check out the installation instruction mentioned in the first post.

Best,
Shreyash

1 Like

Nope, it's not possible to support AARs through Rush yet.

1 Like

@shreyash I am still getting error even my rush version v1.2.5

Please check it because this is very important

Thank You
Horizon

Everything seems fine with v1.2.5 on my end. Please make sure that you've JDK properly set up. If the issue persists, run rush upgrade --force and then try again.

Upgrade to v 1.2.5 works fine and builds OK here on Linux.

One note, if I run rush --version it still reports v 1.2.4

2 Likes

@shreyash is there any way to check the version of rush
So that I can confirm that I am on v1.2.5 only

Thank you

You can run rush --version.

1 Like

:man_facepalming: I forgot to update the version number. Whatever, I'm not releasing v1.2.6 just to fix the version number now... :roll_eyes:

If you have an active internet connection and running rush upgrade --force prints "Done! Rush was successfully upgraded to v1.2.5", then it means that you're on v1.2.5.

4 Likes


Done :+1:

P.S:
:joy: Its good though, don't mind...

PS C:\Users\Harish> rush --version
                      __
     _______  _______/ /_
    / ___/ / / / ___/ __ \
   / /  / /_/ (__  / / / /
  /_/   \__,_/____/_/ /_/

Version:   1.2.4
Built on:  2021-12-11 06:56:51
PS C:\Users\Harish>

dear @shreyash please see this...
am I doing something wrong


Please see this

If you are having issues selecting the extension's language, try defining it when running the create command. Like this:

rush create extension-name --lang Kotlin

You can do the similar thing with other options as well.

--org,     -o     For organization name
--version, -v     For version name
--author,  -a     For author name
1 Like

Thank you @shreyash

After instalation of Rush i have tries to make "Your first Rush project"
it failed:
Build initialized

β”Œ Checking project files
β”‚ info Checking metadata file (rush.yml)
β”‚ info Checking AndroidManifest.xml file
β”” done
β”Œ Compiling source files
β”‚ info Picked 1 source file
β”” failed

β€’ Build failed [15ms] []
What was wrong with my installation?

Hi,
Please read this:

1 Like