Skip to content

Commit bfc6190

Browse files
chore(docs): Full gradle config in example for each module
1 parent 9599e0a commit bfc6190

File tree

5 files changed

+44
-4
lines changed

5 files changed

+44
-4
lines changed

docs/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ For more information about the project and available options refer to this [repo
108108
id 'java'
109109
id 'io.freefair.aspectj.post-compile-weaving' version '5.0.1'
110110
}
111+
111112
repositories {
112113
mavenCentral()
113114
}

docs/utilities/batch.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,20 @@ To install this utility, add the following dependency to your project.
7171
=== "Gradle"
7272

7373
```groovy
74-
dependencies {
74+
plugins{
75+
id 'java'
76+
id 'io.freefair.aspectj.post-compile-weaving' version '5.0.1'
77+
}
78+
79+
repositories {
80+
mavenCentral()
81+
}
82+
83+
aspectj {
84+
version = "1.9.7"
85+
}
86+
87+
dependencies {
7588
...
7689
aspect 'software.amazon.lambda:powertools-sqs:1.10.0'
7790
}

docs/utilities/parameters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ If you want to use the ```@Param``` annotation in your project add configuration
427427
id 'io.freefair.aspectj.post-compile-weaving' version '5.0.1'
428428
}
429429
repositories {
430-
jcenter()
430+
mavenCentral()
431431
}
432432
dependencies {
433433
...

docs/utilities/sqs_large_message_handling.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,20 @@ To install this utility, add the following dependency to your project.
7979
=== "Gradle"
8080

8181
```groovy
82-
dependencies {
82+
plugins{
83+
id 'java'
84+
id 'io.freefair.aspectj.post-compile-weaving' version '5.0.1'
85+
}
86+
87+
repositories {
88+
mavenCentral()
89+
}
90+
91+
aspectj {
92+
version = "1.9.7"
93+
}
94+
95+
dependencies {
8396
...
8497
aspect 'software.amazon.lambda:powertools-sqs:1.10.0'
8598
}

docs/utilities/validation.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,20 @@ To install this utility, add the following dependency to your project.
6161
=== "Gradle"
6262

6363
```groovy
64-
dependencies {
64+
plugins{
65+
id 'java'
66+
id 'io.freefair.aspectj.post-compile-weaving' version '5.0.1'
67+
}
68+
69+
repositories {
70+
mavenCentral()
71+
}
72+
73+
aspectj {
74+
version = "1.9.7"
75+
}
76+
77+
dependencies {
6578
aspect 'software.amazon.lambda:powertools-validation:1.10.0'
6679
}
6780
```

0 commit comments

Comments
 (0)