forked from rive-app/rive-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
57 lines (48 loc) · 1.47 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply plugin: "io.github.gradle-nexus.publish-plugin"
apply plugin: 'com.palantir.git-version'
def details = versionDetails()
ext {
PUBLISH_GROUP_ID = 'app.rive'
PUBLISH_VERSION = details.lastTag
PUBLISH_ARTIFACT_ID = 'rive-android'
}
buildscript {
ext {
gradle_version = '8.0.2'
kotlin_version = "1.8.21"
dokkaVersion = "1.4.30"
compose_version = '1.4.4'
}
repositories {
google()
mavenCentral()
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath "com.android.tools.build:gradle:$gradle_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath("org.jetbrains.dokka:dokka-gradle-plugin:${dokkaVersion}")
classpath("io.github.gradle-nexus:publish-plugin:1.3.0")
classpath "com.palantir.gradle.gitversion:gradle-git-version:3.0.0"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
mavenCentral()
}
}
task cleanDeps(type: Exec) {
workingDir './cpp'
commandLine './build.clean.sh'
}
task clean(type: Delete) {
// dependsOn(cleanDeps)
delete rootProject.buildDir
}
apply from: "${rootDir}/scripts/publish-root.gradle"