-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle
66 lines (50 loc) · 1.56 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.8.21'
ext.dokka_version = '1.9.20'
ext {
group = 'com.github.markusressel'
gradle_plugin_version = '7.0.4'
minSdkVersion = 19
versionName = "4.0.1"
versionCode = 1
compileSdkVersion = 31
targetSdkVersion = 31
buildToolsVersion = "30.0.3"
// DEPENDENCIES
kodeHighlighterVersion = "v3.0.0"
// kodeHighlighterVersion = "master-SNAPSHOT"
javaxAnnotationVersion = "10.0-b28"
aboutlibrariesVersion = "8.2.0"
flowBindingVersion = "1.2.0"
timberKtVersion = "1.5.1"
}
repositories {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:$gradle_plugin_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath("org.jetbrains.dokka:dokka-gradle-plugin:${dokka_version}")
}
}
allprojects {
configurations.all() {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
resolutionStrategy.force "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
resolutionStrategy.force "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
}
}
apply plugin: 'kotlin'
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}