Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

improves Gradle doc #876

Merged
merged 1 commit into from
Oct 4, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/doc_homepage.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Spoon

Spoon is an open-source library that enables you to transform (see below) and analyze Java source code (see example) . Spoon provides a complete and fine-grained Java metamodel where any program element (classes, methods, fields, statements, expressions...) can be accessed both for reading and modification. Spoon takes as input source code and produces transformed source code ready to be compiled.
Spoon is an open-source library that enables you to transform (see [example](/first_analysis_processor.html)) and analyze Java source code (see [example](/first_transformation.html)) . Spoon provides a complete and fine-grained Java metamodel where any program element (classes, methods, fields, statements, expressions...) can be accessed both for reading and modification. Spoon takes as input source code and produces transformed source code ready to be compiled. Spoon can be integrated in [Maven](/maven.html) and [Gradle](/gradle.html).

- If you use Spoon for industrial purposes, please consider funding Spoon through a research contract with Inria (contact Martin Monperrus for this).

Expand Down
14 changes: 5 additions & 9 deletions doc/gradle.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,8 @@ last_updated: October 1, 2015
compile 'fr.inria.gforge.spoon:spoon-core:{{site.spoon_release}}'
```

Think to specify repository of eclipse for JDT dependency:
You may also have to add our repository, see below.

```groovy
repositories {
maven {
url 'http://spoon.gforge.inria.fr/repositories/releases/'
}
}
```

## Plugin

Expand All @@ -36,6 +29,9 @@ the root directory of the plugin project. After that, use it in your
buildscript {
repositories {
mavenLocal()
maven {
url 'http://spoon.gforge.inria.fr/repositories/'
}
}
dependencies {
classpath group: 'fr.inria.gforge.spoon',
Expand Down Expand Up @@ -65,4 +61,4 @@ as classpath in the buildscript of your project where the Gradle plugin can retr
Otherwise, your processor won't be applied.
{{site.data.alerts.end}}

To know more about this Maven plugin, you can check the README of its [GitHub project](https://github.com/SpoonLabs/spoon-gradle-plugin).
To know more about this Maven plugin, you can check the README of its [GitHub project](https://github.com/SpoonLabs/spoon-gradle-plugin).