Skip to content

Gradle setup to use java 12 preview features i.e. Switch Expressions

License

Notifications You must be signed in to change notification settings

muralikrishna8/java-switch-expression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Switch Expressions Example

This is a sample repository to use switch expressions of java 12 using gradle

To build

    ./gradlew clean build

To run the jar

    java --enable-preview -jar build/libs/*.jar

To Run

    ./gradlew run -q --console=plain

About

Gradle setup to use java 12 preview features i.e. Switch Expressions

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages