Skip to content

2.5.0

Compare
Choose a tag to compare
@darmiel darmiel released this 11 Mar 22:21
· 14 commits to main since this release
1db8ecc

Changes in this release:

This release implements functionality to call other entry points:

@Entrypoint("__get_name")
public String runGetName(@Prompt("Enter Name") final String name) {
    return name;
}

@Entrypoint
public void run(
    @Entrypoint("__get_name") final Call<String> nameCall
) {
    for (int i = 0; i < 5; i++) {
        System.out.println("Name " + (i + 1) + ": " + nameCall.call());
    }
}
[String] Enter Name > Daniel
Name 1: Daniel
[String] Enter Name > Test2
Name 2: Test2
[String] Enter Name > Test4
// ...

Contributors

Installation

Maven

  1. Add this repository to your pom.xml:
<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>
  1. Add the eeee-dependency:
<dependency>
    <groupId>com.github.darmiel</groupId>
    <artifactId>eeee</artifactId>
    <version>2.5.0</version>
</dependency>