File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
src/main/kotlin/com/cognifide/gradle/aem/api Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -283,6 +283,7 @@ aem {
283283 ]
284284
285285 notificationEnabled = false
286+ notificationConfig = { it.dorkbox() }
286287 }
287288}
288289```
Original file line number Diff line number Diff line change 11plugins {
22 id ' java-gradle-plugin'
33 id ' maven-publish'
4- id ' org.jetbrains.kotlin.jvm' version ' 1.2.41 '
4+ id ' org.jetbrains.kotlin.jvm' version ' 1.2.51 '
55 id ' com.jfrog.bintray' version ' 1.8.0'
66}
77
@@ -16,8 +16,8 @@ repositories {
1616
1717dependencies {
1818 implementation gradleApi()
19- implementation " org.jetbrains.kotlin:kotlin-stdlib:1.2.41 "
20- implementation ' org.jetbrains.kotlin:kotlin-reflect:1.2.21 '
19+ implementation " org.jetbrains.kotlin:kotlin-stdlib:1.2.51 "
20+ implementation ' org.jetbrains.kotlin:kotlin-reflect:1.2.51 '
2121 implementation ' org.apache.commons:commons-lang3:3.4'
2222 implementation ' commons-io:commons-io:2.4'
2323 implementation ' commons-validator:commons-validator:1.6'
Original file line number Diff line number Diff line change @@ -569,6 +569,9 @@ class AemConfig(
569569
570570 /* *
571571 * Hook for customizing notifications being displayed.
572+ *
573+ * To customize notification use one of concrete provider methods: 'dorkbox' or 'jcgay' (and optionally pass configuration lambda(s)).
574+ * Also it is possible to implement own notifier directly in build script by using provider method 'custom'.
572575 */
573576 @Internal
574577 @JsonIgnore
Original file line number Diff line number Diff line change @@ -17,10 +17,6 @@ class AemNotifier private constructor(private val project: Project) {
1717
1818 private val notifier: Notifier by lazy { config.notificationConfig(this @AemNotifier) }
1919
20- init {
21- dorkbox()
22- }
23-
2420 fun log (title : String ) {
2521 log(title, " " )
2622 }
You can’t perform that action at this time.
0 commit comments