-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
65 lines (54 loc) · 1.43 KB
/
Copy pathbuild.gradle
File metadata and controls
65 lines (54 loc) · 1.43 KB
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 'com.android.library'
id 'maven-publish'
}
group = 'com.github.VCSilverCircuits'
version = '0.0.1a'
android {
namespace "vcsc.core"
compileSdk 34
defaultConfig {
minSdk 24
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
// This is important for publishing
publishing {
singleVariant('release') {
withSourcesJar()
}
}
}
repositories {
google()
mavenCentral()
maven { url "https://maven.brott.dev/" }
}
dependencies {
// Only the FTC dependencies you actually need
compileOnly 'org.firstinspires.ftc:RobotCore:10.3.0'
compileOnly 'org.firstinspires.ftc:FtcCommon:10.3.0'
compileOnly 'org.firstinspires.ftc:Hardware:10.3.0'
compileOnly 'org.firstinspires.ftc:Vision:10.3.0'
compileOnly 'com.pedropathing:pedro:1.0.9'
compileOnly 'com.acmerobotics.dashboard:dashboard:0.4.16'
compileOnly 'org.ftclib.ftclib:core:2.1.1'
}
afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release
groupId = project.group
artifactId = 'core'
version = project.version
pom {
name = 'VCSC Core'
description = 'VCSC core library'
}
}
}
}
}