forked from novoda/bintray-release
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle.kts
52 lines (43 loc) · 1.28 KB
/
build.gradle.kts
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
import guru.stefma.bintrayrelease.PublishExtension
plugins {
kotlin("jvm") version "1.3.21"
`java-gradle-plugin`
id("guru.stefma.bintrayrelease") version "1.1.1"
}
repositories {
google()
jcenter()
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
implementation("com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4")
implementation("guru.stefma.androidartifacts:androidartifacts:1.4.0")
testImplementation("org.junit.jupiter:junit-jupiter:5.4.0")
testImplementation("org.assertj:assertj-core:3.11.1")
}
afterEvaluate {
tasks.withType(Test::class.java).configureEach {
dependsOn(tasks.named("publishToMavenLocal"))
systemProperty("pluginVersion", version)
useJUnitPlatform()
}
}
gradlePlugin {
plugins {
create("binrayRelease") {
id = "guru.stefma.bintrayrelease"
implementationClass = "guru.stefma.bintrayrelease.BintrayReleasePlugin"
}
}
}
version = "1.1.2-NOSNAPSHOT"
group = "guru.stefma.bintrayrelease"
javaArtifact {
artifactId = "bintrayrelease"
}
publish {
userOrg = "stefma"
uploadName = "BintrayRelease"
desc = "Super duper easy way to release your Android and other artifacts to bintray"
website = "https://github.com/StefMa/bintray-release"
}