-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
62 lines (51 loc) · 1.7 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
plugins {
id 'java-gradle-plugin'
id 'org.jetbrains.kotlin.jvm' version '1.9.22'
id "com.gradle.plugin-publish" version "0.16.0" // For publishing on https://plugins.gradle.org/ -> use publishPlugins task
id 'maven-publish' // For publishing on local maven repository (for development purposes) -> use publishToMavenLocal task
}
repositories {
mavenCentral()
}
group 'com.bugfender'
version '1.2.0'
compileKotlin {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
repositories {
google()
mavenCentral()
}
dependencies {
compileOnly "com.android.tools.build:gradle:7.0.2"
implementation "com.squareup.okhttp3:okhttp:4.12.0"
testImplementation "com.android.tools.build:gradle:7.0.2"
testImplementation "io.mockk:mockk:1.12.0"
testImplementation "com.squareup.okhttp3:mockwebserver:4.12.0"
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.0'
}
test {
useJUnitPlatform()
}
gradlePlugin {
plugins {
uploadMappingPlugin {
id = "com.bugfender.upload-mapping"
implementationClass = "com.bugfender.UploadMappingPlugin"
}
}
}
pluginBundle {
website = 'https://github.com/bugfender/gradle-mapping-upload'
vcsUrl = 'https://github.com/bugfender/gradle-mapping-upload'
description = 'Plugin to automatically upload ProGuard mapping files to Bugfender'
tags = ['bugfender','mapping','logger','crash-report']
plugins {
uploadMappingPlugin {
// id is captured from java-gradle-plugin configuration
displayName = 'Bugfender Android plugin'
}
}
}