forked from gaelmarhic/Quadrant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
65 lines (54 loc) · 1.36 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
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.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.7"
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()
}