-
Notifications
You must be signed in to change notification settings - Fork 70
Expand file tree
/
Copy pathbuild.gradle
More file actions
33 lines (26 loc) · 775 Bytes
/
build.gradle
File metadata and controls
33 lines (26 loc) · 775 Bytes
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
apply plugin: 'groovy'
ext {
kitDescription = 'mParticle Gradle Plugin for creating mParticle kits'
}
apply from: '../scripts/maven.gradle'
dependencies {
implementation gradleApi()
implementation localGroovy()
compileOnly "com.android.tools.build:gradle:8.0.0"
testImplementation "com.android.tools.build:gradle:8.0.0"
}
compileGroovy {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
dependencies {
testImplementation 'junit:junit:4.13.2'
}
task generateJavadocsJar(type: Jar, dependsOn: groovydoc) {
archiveClassifier.set("javadoc")
from groovydoc.destinationDir
}
task generateSourcesJar(type: Jar) {
archiveClassifier.set("sources")
from sourceSets.main.java.srcDirs
}