-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.gradle
37 lines (31 loc) · 869 Bytes
/
init.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
rootProject {
buildscript {
dependencies {
classpath(group: 'com.maxjspaulding.gradle.hermes', name: 'notificationsPlugin', version: '1.0.0')
}
repositories {
mavenCentral()
maven { url uri('/home/maxj/Projects/hermes/repo') }
}
}
}
initscript {
repositories {
mavenCentral()
maven { url uri('/home/maxj/Projects/hermes/repo') }
}
dependencies {
classpath group: 'com.maxjspaulding.gradle.hermes',
name: 'notificationsPlugin',
version: '1.0.0'
}
}
import com.maxjspaulding.gradle.hermes.HermesBuildListener
import com.maxjspaulding.gradle.hermes.HermesPluginExtension
gradle.extensions.create("hermes", HermesPluginExtension)
hermes{
publishKey="your-pubnub-publish-key"
subscribeKey="your-pubnub-subscribe-key"
}
def listener = new HermesBuildListener();
gradle.addBuildListener(listener);