summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md4
-rw-r--r--build.gradle7
2 files changed, 7 insertions, 4 deletions
diff --git a/README.md b/README.md
index 2c5e703..a8fa7c8 100644
--- a/README.md
+++ b/README.md
@@ -6,8 +6,6 @@ First things first, add the processor and its dependencies to your `build.gradle
```groovy
dependencies {
implementation 'ftbsc.lll:processor:0.1.0'
- annotationProcessor 'com.squareup:javapoet:1.13.0'
- annotationProcessor 'ftbsc:lll:0.2.1'
annotationProcessor 'ftbsc.lll:processor:0.1.0'
}
```
@@ -47,4 +45,4 @@ public class SamplePatchInjector implements IInjector {
}
```
-Happy patching! \ No newline at end of file
+Happy patching!
diff --git a/build.gradle b/build.gradle
index a742c9b..2d496cd 100644
--- a/build.gradle
+++ b/build.gradle
@@ -6,7 +6,12 @@ plugins {
archivesBaseName = 'processor'
version = gitVersion()
-java.toolchain.languageVersion = JavaLanguageVersion.of(8)
+java {
+ sourceCompatibility = JavaVersion.VERSION_1_8
+ targetCompatibility = JavaVersion.VERSION_1_8
+ withSourcesJar()
+ withJavadocJar()
+}
repositories {
mavenCentral()