Skip to content

Commit ffa680e

Browse files
author
Anastasios Antoniadis
committed
Update README.md with instruction to use Doop as a library (Gradle, Maven)
1 parent 7201394 commit ffa680e

File tree

2 files changed

+43
-1
lines changed

2 files changed

+43
-1
lines changed

README.md

+42
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,48 @@ Support:
4040

4141
(b) [Discord server](https://discord.gg/4q7rj5s)
4242

43+
## Using Doop as a Library
44+
45+
Add the JitPack repository to your root build.gradle or pom.xml
46+
47+
### build.gradle configuration
48+
49+
```
50+
dependencyResolutionManagement {
51+
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
52+
repositories {
53+
mavenCentral()
54+
maven { url 'https://jitpack.io' }
55+
}
56+
}
57+
```
58+
59+
### pom.xml configuration
60+
```
61+
<repositories>
62+
<repository>
63+
<id>jitpack.io</id>
64+
<url>https://jitpack.io</url>
65+
</repository>
66+
</repositories>
67+
```
68+
### Add the dependency in build.gradle
69+
```
70+
dependencies {
71+
implementation 'com.github.plast-lab:Doop:4:24:13'
72+
}
73+
```
74+
75+
### Add the dependency in pom.xml
76+
77+
```
78+
<dependency>
79+
<groupId>com.github.plast-lab</groupId>
80+
<artifactId>Doop</artifactId>
81+
<version>Tag</version>
82+
</dependency>
83+
```
84+
4385
## Benchmarks & Platform Lib
4486

4587
For a variety of benchmarks, you could clone (or download) the [doop-benchmarks](https://bitbucket.org/yanniss/doop-benchmarks) repository.

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version=4.24.11
1+
version=4.24.13

0 commit comments

Comments
 (0)