File tree Expand file tree Collapse file tree 5 files changed +96
-6
lines changed
dotnetcoresignalrclientjava Expand file tree Collapse file tree 5 files changed +96
-6
lines changed Original file line number Diff line number Diff line change 11# SignalR-.net-core-android-client
2- Kotlin and java versions
2+ Kotlin and java versions
3+
Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ buildscript {
99 dependencies {
1010 classpath ' com.android.tools.build:gradle:3.0.0-beta6'
1111 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
12+ classpath ' com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4'
13+ classpath ' com.github.dcendents:android-maven-gradle-plugin:1.4.1'
1214
1315 // NOTE: Do not place your application dependencies here; they belong
1416 // in the individual module build.gradle files
@@ -24,4 +26,4 @@ allprojects {
2426
2527task clean (type : Delete ) {
2628 delete rootProject. buildDir
27- }
29+ }
Original file line number Diff line number Diff line change 1+ apply plugin : ' com.jfrog.bintray'
2+
3+ version = ' 1.0.6'
4+
5+ task sourcesJar (type : Jar ) {
6+ from android. sourceSets. main. java. srcDirs
7+ classifier = ' sources'
8+ }
9+
10+ task javadoc (type : Javadoc ) {
11+ source = android. sourceSets. main. java. srcDirs
12+ classpath + = project. files(android. getBootClasspath(). join(File . pathSeparator))
13+ }
14+
15+ task javadocJar (type : Jar , dependsOn : javadoc) {
16+ classifier = ' javadoc'
17+ from javadoc. destinationDir
18+ }
19+ artifacts {
20+ archives javadocJar
21+ archives sourcesJar
22+ }
23+
24+ // Bintray
25+ Properties properties = new Properties ()
26+ properties. load(project. rootProject. file(' local.properties' ). newDataInputStream())
27+
28+ bintray {
29+ user = properties. getProperty(" bintray.user" )
30+ key = properties. getProperty(" bintray.apikey" )
31+
32+ configurations = [' archives' ]
33+ pkg {
34+ repo = ' maven'
35+ name = ' SignalRNetCoreAndroidClient'
36+ desc = ' SignalR .net core android client library'
37+ websiteUrl = ' https://github.com/Gurgen/SignalR-.net-core-android-client'
38+ vcsUrl = ' https://github.com/Gurgen/SignalR-.net-core-android-client.git'
39+ licenses = [" Apache-2.0" ]
40+ publish = true
41+ publicDownloadNumbers = true
42+ }
43+ }
Original file line number Diff line number Diff line change @@ -8,9 +8,8 @@ android {
88 defaultConfig {
99 minSdkVersion 16
1010 targetSdkVersion 26
11- versionCode 1
12- versionName " 1.0"
13-
11+ versionCode 7
12+ versionName " 1.06"
1413 }
1514
1615 buildTypes {
@@ -19,11 +18,13 @@ android {
1918 proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
2019 }
2120 }
22-
2321}
2422
2523dependencies {
2624 implementation fileTree(dir : ' libs' , include : [' *.jar' ])
2725 implementation ' org.java-websocket:Java-WebSocket:1.3.4'
2826 implementation ' com.google.code.gson:gson:2.8.1'
2927}
28+
29+ apply from : ' install.gradle'
30+ apply from : ' bintray.gradle'
Original file line number Diff line number Diff line change 1+ apply plugin : ' com.github.dcendents.android-maven'
2+
3+ group = ' com.smartarmenia'
4+
5+ install {
6+ repositories. mavenInstaller {
7+ pom {
8+ project {
9+ packaging ' aar'
10+ groupId ' com.smartarmenia'
11+ artifactId ' dotnetcoresignalrclientjava'
12+
13+ name ' SignalRNetCoreAndroidClient'
14+ description ' Android client for .net core SignalR'
15+ url ' https://github.com/Gurgen/SignalR-.net-core-android-client'
16+
17+ licenses {
18+ license {
19+ name ' The Apache Software License, Version 2.0'
20+ url ' http://www.apache.org/licenses/LICENSE-2.0.txt'
21+ }
22+ }
23+ developers {
24+ developer {
25+ id ' gurgen'
26+ name ' Gurgen Hakobyan'
27+ 28+ }
29+ }
30+ scm {
31+ connection ' https://github.com/Gurgen/SignalR-.net-core-android-client.git'
32+ developerConnection ' https://github.com/Gurgen/SignalR-.net-core-android-client.git'
33+ url ' https://github.com/Gurgen/SignalR-.net-core-android-client'
34+
35+ }
36+ dependencies {
37+ compile ' org.java-websocket:Java-WebSocket:1.3.4'
38+ compile ' com.google.code.gson:gson:2.8.1'
39+ }
40+ }
41+ }
42+ }
43+ }
You can’t perform that action at this time.
0 commit comments