Skip to content

Commit

Permalink
add version from latest tag to keep the installation doc up2date w/ c…
Browse files Browse the repository at this point in the history
…urrent release
  • Loading branch information
swissiety committed Oct 31, 2023
1 parent 4a02db3 commit d93e26f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
1 change: 1 addition & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- run: pip install mkdocs-material
- run: pip install mkdocs-tooltips
- run: pip install git+https://github.com/RedisLabs/mkdocs-include.git
- run: pip install mkdocs_latest_release_plugin
- run: pip install git+https://github.com/swissiety/LspLexer4Pygments.git
# grab latest release url of the JimpleLSP jar and download it
- run: curl -s -L -o ./jimplelsp.jar $(curl -s https://api.github.com/repos/swissiety/jimpleLsp/releases/latest | grep 'browser_download_url".*jar"' | cut -d ':' -f 2,3 | tr -d \")
Expand Down
30 changes: 15 additions & 15 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,37 +15,37 @@ Take a look at the [Modules](whatsnew.md#modular-architecture) to learn more abo
<dependency>
<groupId>org.soot-oss</groupId>
<artifactId>sootup.core</artifactId>
<version>1.0.0</version>
<version>{{ git_latest_release }}</version>
</dependency>
<dependency>
<groupId>org.soot-oss</groupId>
<artifactId>sootup.java.core</artifactId>
<version>1.0.0</version>
<version>{{ git_latest_release }}</version>
</dependency>
<dependency>
<groupId>org.soot-oss</groupId>
<artifactId>sootup.java.sourcecode</artifactId>
<version>1.0.0</version>
<version>{{ git_latest_release }}</version>
</dependency>
<dependency>
<groupId>org.soot-oss</groupId>
<artifactId>sootup.java.bytecode</artifactId>
<version>1.0.0</version>
<version>{{ git_latest_release }}</version>
</dependency>
<dependency>
<groupId>org.soot-oss</groupId>
<artifactId>sootup.jimple.parser</artifactId>
<version>1.0.0</version>
<version>{{ git_latest_release }}</version>
</dependency>
<dependency>
<groupId>org.soot-oss</groupId>
<artifactId>sootup.callgraph</artifactId>
<version>1.0.0</version>
<version>{{ git_latest_release }}</version>
</dependency>
<dependency>
<groupId>org.soot-oss</groupId>
<artifactId>sootup.analysis</artifactId>
<version>1.0.0</version>
<version>{{ git_latest_release }}</version>
</dependency>
</dependencies>
```
Expand All @@ -54,13 +54,13 @@ Take a look at the [Modules](whatsnew.md#modular-architecture) to learn more abo
Add the following dependency in the ```build.gradle``` file of your project to include all SootUp modules into your project.

```
compile "org.soot-oss:sootup.core:1.0.0"
compile "org.soot-oss:sootup.java.core:1.0.0"
compile "org.soot-oss:sootup.java.sourcecode:1.0.0"
compile "org.soot-oss:sootup.java.bytecode:1.0.0"
compile "org.soot-oss:sootup.jimple.parser:1.0.0"
compile "org.soot-oss:sootup.callgraph:1.0.0"
compile "org.soot-oss:sootup.analysis:1.0.0"
compile "org.soot-oss:sootup.core:{{ git_latest_release }}"
compile "org.soot-oss:sootup.java.core{{ git_latest_release }}"
compile "org.soot-oss:sootup.java.sourcecode{{ git_latest_release }}"
compile "org.soot-oss:sootup.java.bytecode{{ git_latest_release }}"
compile "org.soot-oss:sootup.jimple.parser{{ git_latest_release }}"
compile "org.soot-oss:sootup.callgraph{{ git_latest_release }}"
compile "org.soot-oss:sootup.analysis{{ git_latest_release }}"
```

## Building from Source
Expand All @@ -79,7 +79,7 @@ Alternatively, you can execute the following command in the project directory:
mvn install
```

Or if you want to skip unit tests while building:
Or if you want to skip tests while building:

```
mvn -Dskiptests install
Expand Down
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ plugins:
- search
- include:
src_path: 'sootup.examples/src/test/java/sootup/examples'
- git-latest-release

extra_css:
- css/hint.min.css
Expand Down

0 comments on commit d93e26f

Please sign in to comment.