Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Sample project with a basic Gradle + JavaParser setup

NotificationsYou must be signed in to change notification settings

javaparser/javaparser-gradle-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A fully working sample Gradle project that parses and generates code withJavaParser

This is targeted at people withoutGradle experience.

To build it, you will need to download and unpack the latest (or recent) version of Gradle (https://gradle.org/install/)and put thegradle command on your path. Alternatively, you can use the (included) gradle wrapper.

Then, you will need to install a Java 1.8 (or higher) JDK (not JRE!), and make sure you can runjava from the command line.

Now you can rungradle shadowJar - Gradle will compile your project and put theresulting jar file in thebuild directory.

If you like to run from the command line, executejava -jar build/libs/javaparser-gradle-sample-shadow-1.0-SNAPSHOT-beta.jar.

How you run this code is up to you, but usually you would start by using an IDElikeNetBeans,Intellij IDEA,orEclipse.

Note that the JavaParser dependencies may lag behind the official releases a bit.

If you notice some problems with this setup, please open an issue.

About

Sample project with a basic Gradle + JavaParser setup

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp