-
Notifications
You must be signed in to change notification settings - Fork 13
/
build.gradle
66 lines (55 loc) · 1.4 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
plugins {
id "org.jetbrains.kotlin.jvm" version "1.4.0"
id "com.gradle.plugin-publish" version "0.11.0"
id 'java-gradle-plugin'
id "maven"
}
repositories {
mavenCentral()
google()
}
dependencies {
// Plugin
implementation gradleApi()
implementation Dependencies.androidPlugin
implementation Dependencies.jaxb
implementation Dependencies.kotlinStandardLibrary
implementation Dependencies.kotlinPoet
// Testing
testImplementation Dependencies.jUnit5Api
testRuntimeOnly Dependencies.jUnit5Engine
testImplementation Dependencies.assertJ
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
group = "com.gaelmarhic"
version = "1.9"
uploadArchives {
repositories {
mavenDeployer {
repository(url: uri('mavenrepo'))
}
}
}
pluginBundle {
website = "https://github.com/gaelmarhic/Quadrant"
vcsUrl = "https://github.com/gaelmarhic/Quadrant"
tags = ["android", "navigation", "multi-module"]
}
gradlePlugin {
plugins {
quadrantPlugin {
id = "com.gaelmarhic.quadrant"
displayName = "Quadrant"
description = "A Gradle plugin for Android that makes navigation easy in multi-module projects."
implementationClass = "com.gaelmarhic.quadrant.QuadrantPlugin"
}
}
}
test {
useJUnitPlatform()
}