Skip to content

Commit c8039d4

Browse files
committed
Add installation instructions to README
1 parent 64594c5 commit c8039d4

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,31 @@ Full JUnit5 integration is provided to help streamline the development process.
3737
**This module is still under development.** Any contributions or feedback
3838
are always welcome!
3939

40+
## Installation
41+
42+
The project can be found on Maven Central.
43+
44+
```xml
45+
<dependency>
46+
<groupId>org.github.ascopes.jct</groupId>
47+
<artifactId>java-compiler-testing</artifactId>
48+
<version>${java-compiler-testing.version}</version>
49+
</dependency>
50+
```
51+
52+
If you are using Gradle, make sure you enable the Maven Central repositories
53+
first!
54+
55+
```kotlin
56+
repositories {
57+
mavenCentral()
58+
}
59+
60+
dependencies {
61+
testImplementation("io.github.ascopes.jct:java-compiler-testing:$jctVersion")
62+
}
63+
```
64+
4065
## Examples
4166

4267
### In-memory code, using RAM disks for source directories

0 commit comments

Comments
 (0)