-
-
Notifications
You must be signed in to change notification settings - Fork 377
/
build.gradle
executable file
·73 lines (61 loc) · 1.93 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
67
68
69
70
71
72
73
plugins {
id 'com.android.library'
id 'org.jetbrains.kotlin.android'
}
android {
namespace 'com.lapism.search'
compileSdk 33
buildToolsVersion "33.0.0"
defaultConfig {
minSdk 21
targetSdk 33
versionCode 2002000
versionName "2.0.2"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
buildFeatures {
viewBinding true
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
publishing {
singleVariant('release') {
withSourcesJar()
}
}
}
dependencies {
implementation 'androidx.appcompat:appcompat:1.7.0-alpha01'
implementation 'com.google.android.material:material:1.8.0-alpha03'
}
ext {
PUBLISH_GROUP_ID = 'io.github.lapism'
PUBLISH_VERSION = '2.0.2'
PUBLISH_ARTIFACT_ID = 'search'
PUBLISH_DESCRIPTION = 'Material You Search component for Android, SearchView'
PUBLISH_URL = 'https://github.com/lapism/search'
PUBLISH_LICENSE_NAME = 'Apache License'
PUBLISH_LICENSE_URL = 'https://github.com/lapism/search/blob/master/LICENSE'
PUBLISH_DEVELOPER_ID = 'lapism'
PUBLISH_DEVELOPER_NAME = 'Martin Lapiš'
PUBLISH_DEVELOPER_EMAIL = '[email protected]'
PUBLISH_SCM_CONNECTION = 'scm:git:github.com/lapism/search.git'
PUBLISH_SCM_DEVELOPER_CONNECTION = 'scm:git:ssh://github.com/lapism/search.git'
PUBLISH_SCM_URL = 'https://github.com/lapism/search/tree/master'
}
apply from: "${rootProject.projectDir}/scripts/publish-module.gradle"