This repository has been archived by the owner on Apr 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
56 lines (47 loc) · 1.49 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
plugins {
id 'java-gradle-plugin'
id 'org.jetbrains.kotlin.jvm' version '1.3.41'
id 'com.gradle.plugin-publish' version '0.10.0'
id 'maven-publish'
}
group 'com.yamilmedina'
version '1.0.0'
repositories {
mavenLocal()
mavenCentral()
google()
maven { url = "https://www.jitpack.io" }
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation "com.konghq:unirest-java:3.4.00"
compileOnly("com.android.tools.build:gradle:3.2.0") {
exclude(group: "org.jetbrains.kotlin")
}
testCompile "junit:junit:4.12"
testImplementation("com.android.tools.build:gradle:3.1.3") {
exclude(group: "org.jetbrains.kotlin")
}
}
sourceCompatibility = 1.8
compileKotlin {
kotlinOptions.jvmTarget = sourceCompatibility
}
compileTestKotlin {
kotlinOptions.jvmTarget = sourceCompatibility
}
pluginBundle {
website = 'https://github.com/yamilmedina/appgallery-publisher'
vcsUrl = 'https://github.com/yamilmedina/appgallery-publisher'
tags = ['publish', 'android', 'huawei', 'plugins']
}
gradlePlugin {
plugins {
register("com.yamilmedina.gallery-publisher") {
id = "com.yamilmedina.gallery-publisher"
displayName = "Publish the APK to Huawei's App Gallery"
description = "A Gradle plugin that allows the publication of an APK to Huawei's App Gallery store"
implementationClass = "com.yamilmedina.gallerypublish.AppGalleryPublisherPlugin"
}
}
}