Skip to content

Commit 3aa3ed0

Browse files
author
krystian.panek
committed
Minor fixes
1 parent 0c90f3c commit 3aa3ed0

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ aem {
283283
]
284284
285285
notificationEnabled = false
286+
notificationConfig = { it.dorkbox() }
286287
}
287288
}
288289
```

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
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

1717
dependencies {
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'

src/main/kotlin/com/cognifide/gradle/aem/api/AemConfig.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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

src/main/kotlin/com/cognifide/gradle/aem/api/AemNotifier.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)