-
Notifications
You must be signed in to change notification settings - Fork 581
/
Copy pathbuild.gradle.kts
55 lines (47 loc) · 944 Bytes
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
plugins {
id("com.android.library")
id("org.jetbrains.kotlin.android")
id("com.squareup.wire")
id("maven-publish")
}
buildscript {
repositories {
mavenCentral()
google()
}
dependencies {
classpath(libs.pluginz.android)
classpath("com.squareup.wire:wire-gradle-plugin")
}
}
android {
namespace = "com.squareup.wire.android.app.multi.location"
publishing {
singleVariant("debug") {
withSourcesJar()
}
}
}
publishing {
publications {
create("debug", MavenPublication::class.java) {
groupId = "com.my-company"
artifactId = "my-library"
version = "1.0"
afterEvaluate {
from(components.getByName("debug"))
}
}
}
}
dependencies {
implementation(libs.androidx.appcompat)
implementation(libs.androidx.constraintLayout)
implementation(libs.androidMaterial)
testImplementation(libs.junit)
}
wire {
protoLibrary = true
kotlin {
}
}