-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
50 lines (45 loc) · 1.34 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
plugins {
id 'com.android.library'
id 'maven-publish'
}
android {
compileSdk 34
defaultConfig {
minSdkVersion 24
targetSdkVersion 34
versionCode 1002027
versionName "1.2.27-SNAPSHOT"
setProperty("archivesBaseName", "utils-${versionName}")
}
buildTypes {
release {
minifyEnabled false
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
}
dependencies {
implementation 'com.github.elimu-ai:model:model-2.0.66' // See https://jitpack.io/#elimu-ai/model
implementation 'com.github.elimu-ai:analytics:3.1.11@aar' // See https://jitpack.io/#elimu-ai/analytics
}
// See https://docs.gradle.org/current/dsl/org.gradle.api.publish.maven.MavenPublication.html
// Usage: ./gradlew clean build publish -PmavenUsername=***** -PmavenPassword=*****
publishing {
publications {
utils(MavenPublication) {
groupId 'ai.elimu.content_provider'
artifactId 'utils'
version '1.2.27-SNAPSHOT'
artifact("${buildDir}/outputs/aar/utils-${version}-release.aar")
}
}
repositories {
maven {
credentials(PasswordCredentials)
url "https://maven.pkg.github.com/elimu-ai/content-provider"
}
}
}