-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
91 lines (76 loc) · 2.26 KB
/
build.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
plugins {
id 'com.gradle.plugin-publish' version '0.11.0'
id 'java-gradle-plugin'
}
repositories {
maven { url 'https://maven.google.com' }
jcenter()
mavenCentral()
}
apply plugin: 'groovy'
apply plugin: 'java-gradle-plugin'
apply plugin: 'java-library'
// Run the following to update the lockfiles
// ./gradlew dependencies --write-locks
configurations.all {
it.resolutionStrategy.activateDependencyLocking()
}
dependencies {
compile gradleApi()
compile localGroovy()
// These are compileOnly just so we can inspect these classes in IntelliJ
// Android Gradle Plugin (AGP)
compileOnly 'com.android.tools.build:gradle:4.1.1'
testCompileOnly 'com.android.tools.build:gradle:4.1.1'
// Google Play Services Gradle Plugin
compileOnly 'com.google.gms:google-services:4.3.+'
testCompileOnly 'com.google.gms:google-services:4.3.+'
// Google's strict version matcher plugin
compileOnly 'com.google.android.gms:strict-version-matcher-plugin:1.2.+'
testCompileOnly 'com.google.android.gms:strict-version-matcher-plugin:1.2.+'
testCompile gradleTestKit()
testCompile 'junit:junit:4.12'
testCompile('org.spockframework:spock-core:1.0-groovy-2.4') {
exclude module: 'groovy-all'
}
}
group = 'gradle.plexus'
version = '1.0'
description 'Plexus Gradle Plugin'
// Run to upload a new version to the Gradle Plugin Portal
// ./gradlew publishPlugins
pluginBundle {
website = 'https://plexus.dev/'
vcsUrl = 'https://github.com/plexusinc/Plexus-Gradle-Plugin'
plugins {
plugin {
id = 'com.plexus.gradle.plexus-gradle-plugin'
displayName = 'Plexus Gradle Plugin'
description = project.description
tags = ['Plexus', 'Android', 'push', 'notifications', 'GCM', 'FCM']
}
}
}
gradlePlugin {
plugins {
plugin {
id = 'com.plexus.gradle.plexus-gradle-plugin'
implementationClass = 'com.plexus.gradle.GradleProjectPlugin'
}
}
}
test {
testLogging {
showStandardStreams = true
exceptionFormat = 'full'
}
}
// Build for Local Testing
apply plugin: 'maven'
uploadArchives {
repositories {
mavenDeployer {
repository(url: uri('../repo'))
}
}
}