-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
78 lines (67 loc) · 1.79 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
68
69
70
71
72
73
74
75
76
77
78
plugins {
id 'maven-publish'
}
apply plugin: 'com.android.library'
group = 'org.team11260'
version = '0.1.2'
android {
compileSdkVersion 33
defaultConfig {
minSdkVersion 24
targetSdkVersion 28
}
lintOptions {
abortOnError false
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
namespace 'org.team11260.fastload'
publishing {
singleVariant("release") {
withSourcesJar()
withJavadocJar()
}
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.firstinspires.ftc:FtcCommon:[9.0, 10.0)'
implementation 'org.firstinspires.ftc:RobotCore:[9.0, 10.0)'
}
afterEvaluate {
publishing {
publications {
library(MavenPublication) {
groupId = 'org.team11260'
artifactId = 'fast-load'
from components.release
pom {
name = 'FTC Fast Load Library'
description = 'Custom classload to reload Team Code'
licenses {
license {
name = 'MIT'
url = 'https://spdx.org/licenses/MIT.txt'
}
}
developers {
developer {
id = 'matthewo'
name = 'Matthew Oates'
email = 'uni.oates@gmail.com'
}
}
}
}
}
repositories {
maven {
url = providers.gradleProperty('matthewo.publish.secret').getOrElse("")
}
}
}
}