Rush • A new and improved way of building extensions

? language

Java
Kotlin

Im sorry, how to choose kotlin language how to do it ?

It literally tells you to use the up and down arrows on your keyboard…

1 Like

ok thanks :joy:

1 Like

:sparkles: Rush v1.2.2


This minor release fixes some crucial bugs and introduces a couple of improvements.

Improvements :triangular_ruler:


  • Development dependencies are now centralized for all Rush projects. This makes Rush more disk efficient by not copying the dev-deps folder for every extension project.

  • Creating a new extension will now fail if a directory with the same name already exists in the current working directory.

Bug fixes :beetle:


  • Fixed the issue that caused Rush to crash because of stack overflow while parsing @SimpleProperty annotations. [ref]

  • Fixed the issue where Rush won’t be able to compile too many source files. [ref]

  • Fixed the issue where the compilation would fail if the extension source file didn’t define any block annotations.

Internal changes :bulb:


  • Migrated the annotations, processor, and migrator modules in the Rush annotation processor repo to Kotlin.

Installation :hammer_and_wrench:


To upgrade to v1.2.2 from v1.2.1, simply run rush upgrade. If you are on any other version, you will need to reinstall Rush.

To install Rush, follow the installation instructions in the first post:


Cheers,
Shreyash

7 Likes

Thats the unique one :heart:
Thanks for the update

3 Likes

Some of the imported library issue remains in IDE for old rush project even after changing project structure
image

Oh, I missed it. Will release a hotfix soon.

1 Like

Np,

Waiting :relieved:

:sparkles: Rush v1.2.3 [HOTFIX]


A small bug managed to sneak into v1.2.2. This release fixes it. :no_entry_sign:

Bug fixes :beetle:


  • Fixed the issue where IntelliJ IDEA (or any other IDE based on it) would fail to index dev dependencies, resulting in red squigglies everywhere. [ref]

Installation :hammer_and_wrench:


To upgrade to v1.2.3, simply run rush upgrade.

To install Rush, follow the installation instructions in the first post:


Cheers,
Shreyash

5 Likes

Still have same issue… idk why?

Make sure you rebuild the extension for the changes to take effect.

1 Like

when i view simple function class using intellij.
Then i get this

i think i have to update kotlin compiler

Try performing a forced upgrade using rush upgrade --force.

Fyi, Rush uses version 1.5.10 of the Kotlin compiler.

2 Likes

Its fixed now as i’ve installed kotlin compiler

2 Likes

I am trying to build extension. it is showing this. why?
image

1 Like

I have the same. No error or anything still fails. :frowning:

It seems you are on linux too. It might be an issue with linux. Hope we will get the answer soon.

I have installed

openjdk version “1.8.0_292”
OpenJDK Runtime Environment (build 1.8.0_292-8u292-b10-0ubuntu1~20.04-b10)
OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)

Such abrupt failure of the build usually happens when Rush fails to invoke the Java compiler (javac). There could be many reasons behind this, but the two I can currently think of are:

  1. You don’t have JDK (Java Development Kit) installed, or
  2. javac is not on the system path variable; quite unusual, but may happen.

Can both of you try running javac in the terminal? If you get an error saying command/program not found, you might need to install JDK 8, or add javac to your system’s path variable.

PS: @72erdelyi, you seem to have JDK installed on your computer. It might be that javac is not your system’s path var.

2 Likes

Command ‘javac’ not found here

I have fixed it here. Thanks a lot

installed sudo apt install openjdk-8-jdk-headless

4 Likes