forked from appswithlove/loco-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
68 lines (60 loc) · 1.77 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
buildscript {
ext {
kotlin_version = '1.4.21'
}
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.13.0'
classpath 'org.jetbrains.dokka:dokka-gradle-plugin:1.4.20'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id 'maven'
id 'maven-publish'
id 'com.github.kt3k.coveralls' version '2.4.0'
id 'signing'
}
repositories {
mavenCentral()
}
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'maven'
apply plugin: 'maven-publish'
apply plugin: 'java-gradle-plugin'
apply plugin: "com.vanniktech.maven.publish"
group GROUP
version VERSION_NAME
dependencies {
compile gradleApi()
compile localGroovy()
testCompile gradleTestKit()
testCompile('org.spockframework:spock-core:1.0-groovy-2.4') {
exclude module: 'groovy-all'
}
testRuntime 'cglib:cglib-nodep:3.2.0'
}
test {
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
}
}
mavenPublish {
targets {
// Modify the existing uploadArchives task
uploadArchives {
releaseRepositoryUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
snapshotRepositoryUrl = "https://oss.sonatype.org/content/repositories/snapshots/"
// repositoryUsername = // This defaults to either the SONATYPE_NEXUS_USERNAME Gradle property or the system environment variable.
// repositoryPassword = // This defaults to either the SONATYPE_NEXUS_PASSWORD Gradle property or the system environment variable.
signing = true
}
}
}