-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle.kts
36 lines (29 loc) · 1.18 KB
/
build.gradle.kts
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
val judoVersion by extra("1.13.6")
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:7.3.1")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10")
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id("com.android.application") version "7.3.1" apply false
id("com.android.library") version "7.3.1" apply false
id("org.jetbrains.kotlin.android") version "1.7.0" apply false
}
task("printVersionNumber") {
doLast {
println("Judo Android SDK version $judoVersion")
// GitHub Actions detects this syntax on stdout and sets an output variable (`VERSION` in this case)
// that we can use later on within the workflow.
// Groovy: println "::set-output name=VERSION::${judoVersion}"
println("::set-output name=VERSION::$judoVersion")
}
}