-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
83 lines (74 loc) · 2.59 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
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'java'
id 'maven-publish'
id 'groovy'
id 'java-library'
id "com.gradle.plugin-publish" version "0.11.0"
}
repositories {
jcenter()
mavenCentral()
google()
}
dependencies {
implementation(gradleApi())
implementation(localGroovy())
// implementation files('libs/spoon-core-8.2.0-SNAPSHOT-jar-with-dependencies.jar')
implementation 'fr.inria.gforge.spoon:spoon-core:8.3.0-beta-4'
implementation 'io.github.java-diff-utils:java-diff-utils:4.0'
implementation 'info.picocli:picocli:3.9.5'
testImplementation "org.junit.jupiter:junit-jupiter-params:5.3.1"
testImplementation "org.junit.jupiter:junit-jupiter-api:5.3.1"
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:5.3.1"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.3.1"
implementation 'com.android.tools.build:gradle:3.5.1'
implementation group: 'net.lingala.zip4j', name: 'zip4j', version: '2.1.4'
implementation group: 'org.eclipse.aether', name: 'aether-api', version: '1.1.0'
implementation group: 'org.eclipse.aether', name: 'aether-api', version: '1.1.0'
implementation group: 'org.eclipse.aether', name: 'aether-util', version: '1.1.0'
implementation group: 'org.eclipse.aether', name: 'aether-impl', version: '1.1.0'
implementation group: 'org.eclipse.aether', name: 'aether-spi', version: '1.1.0'
implementation group: 'org.eclipse.aether', name: 'aether-transport-http', version: '1.1.0'
implementation group: 'org.eclipse.aether', name: 'aether-connector-basic', version: '1.1.0'
implementation group: 'org.eclipse.aether', name: 'aether-transport-file', version: '1.1.0'
implementation group: 'org.apache.maven', name: 'maven-aether-provider', version: '3.3.9'
}
sourceSets {
build {
java.srcDir file('src/main/java')
}
}
jar {
// Jar with all dependencies
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}
test {
useJUnitPlatform {
includeEngines 'junit-jupiter', 'junit-vintage'
}
}
publishing {
publications {
maven(MavenPublication) {
from(components.java)
}
}
}
pluginBundle {
website = 'https://github.com/TQRG'
vcsUrl = 'https://github.com/TQRG/leafactor-ci'
description = 'Leafactor CI plugin for gradle'
tags = ['leafactor', 'ci']
plugins {
leafactorCI {
// id is captured from java-gradle-plugin configuration
displayName = 'Leafactor CI'
id = 'tqrg.leafactor.ci'
}
}
}