-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
79 lines (66 loc) · 2.11 KB
/
build.gradle
File metadata and controls
79 lines (66 loc) · 2.11 KB
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
74
75
76
77
78
79
import com.vanniktech.maven.publish.SonatypeHost
plugins {
id 'com.android.library'
id "com.vanniktech.maven.publish" version "0.22.0"
}
android {
namespace 'com.piesocket.channels'
compileSdk 34
defaultConfig {
minSdk 27
targetSdk 32
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
testFixtures {
enable = true
}
}
group = "com.piesocket"
version = "1.0.5"
mavenPublishing {
pom {
name = "PieSocket Channels"
description = "WebSocket Client SDK for Java and Android applications. See all features: https://piesocket/channels"
inceptionYear = "2019"
url = "https://piesocket.com/channels"
licenses {
license {
name = "The Apache License, Version 2.0"
url = "http://www.apache.org/licenses/LICENSE-2.0.txt"
distribution = "http://www.apache.org/licenses/LICENSE-2.0.txt"
}
}
developers {
developer {
id = "piesocket"
name = "PieSocket"
url = "https://piesocket.com/channels"
}
}
scm {
url = "https://github.com/piesocket/websocket-android-client"
connection = "scm:git:git@github.com:piesocket/websocket-android-client.git"
developerConnection = "scm:git:ssh://git@github.com/piesocket/websocket-android-client.git"
}
}
publishToMavenCentral(SonatypeHost.S01)
signAllPublications()
}
dependencies {
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
api 'com.squareup.okhttp3:okhttp:3.6.0'
}