This repository was archived by the owner on Sep 17, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,16 +5,20 @@ buildscript {
55
66 repositories {
77 jcenter()
8+ google()
89 }
910 dependencies {
10- classpath ' com.android.tools.build:gradle:2.3.3 '
11+ classpath ' com.android.tools.build:gradle:3.1.1 '
1112 classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
13+ classpath ' com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
14+ classpath ' com.github.dcendents:android-maven-gradle-plugin:2.0'
1215 }
1316}
1417
1518allprojects {
1619 repositories {
1720 jcenter()
21+ google()
1822 }
1923}
2024
Original file line number Diff line number Diff line change @@ -22,4 +22,31 @@ dependencies {
2222 testCompile ' junit:junit:4.12'
2323 compile ' com.google.firebase:firebase-config:10.0.0'
2424 compile project(" :library" )
25- }
25+ }
26+
27+ ext {
28+ bintrayRepo = ' version-update-handler'
29+ bintrayName = ' firebase-fetcher'
30+ bintrayOrganisation = ' ackeecz'
31+
32+ publishedGroupId = ' cz.ackee.updatechecker'
33+ publishedArtifactId = ' firebase-fetcher'
34+
35+ libraryName = ' Firebase Fetcher'
36+ libraryDescription = ' Fetches current version information from Firebase Remote Config'
37+ libraryVersion = ' 1.0.1'
38+
39+ siteUrl = ' https://github.com/AckeeCZ/version-update-handler'
40+ gitUrl = ' https://github.com/AckeeCZ/version-update-handler.git'
41+
42+ developerId = ' ackee'
43+ developerName = ' Ackee'
44+ developerEmail = ' info@ackee.cz'
45+
46+ licenseName = ' The Apache Software License, Version 2.0'
47+ licenseUrl = ' http://www.apache.org/licenses/LICENSE-2.0.txt'
48+ allLicenses = [" Apache-2.0" ]
49+ }
50+
51+ apply from : rootProject. file(' gradle/bintray/install.gradle' )
52+ apply from : rootProject. file(' gradle/bintray/bintray.gradle' )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ apply plugin : ' com.jfrog.bintray'
2+
3+ version = libraryVersion
4+
5+ if (project. hasProperty(" android" )) { // Android libraries
6+ task sourcesJar(type : Jar ) {
7+ classifier = ' sources'
8+ from android. sourceSets. main. java. srcDirs
9+ }
10+
11+ task javadoc(type : Javadoc ) {
12+ source = android. sourceSets. main. java. srcDirs
13+ classpath + = project. files(android. getBootClasspath(). join(File . pathSeparator))
14+ }
15+ } else { // Java libraries
16+ task sourcesJar(type : Jar , dependsOn : classes) {
17+ classifier = ' sources'
18+ from sourceSets. main. allSource
19+ }
20+ }
21+
22+ task javadocJar (type : Jar , dependsOn : javadoc) {
23+ classifier = ' javadoc'
24+ from javadoc. destinationDir
25+ }
26+
27+ artifacts {
28+ archives javadocJar
29+ archives sourcesJar
30+ }
31+
32+
33+ // Bintray
34+ Properties properties = new Properties ()
35+ properties. load(project. rootProject. file(' local.properties' ). newDataInputStream())
36+
37+ bintray {
38+ user = properties. getProperty(" bintray.user" )
39+ key = properties. getProperty(" bintray.apikey" )
40+
41+ configurations = [' archives' ]
42+ pkg {
43+ repo = bintrayRepo
44+ name = bintrayName
45+ userOrg = bintrayOrganisation
46+ desc = libraryDescription
47+ websiteUrl = siteUrl
48+ vcsUrl = gitUrl
49+ licenses = allLicenses
50+ publish = true
51+ publicDownloadNumbers = true
52+ version {
53+ desc = libraryDescription
54+ name = libraryVersion
55+ released = new Date ()
56+
57+ gpg {
58+ sign = true // Determines whether to GPG sign the files. The default is false
59+ // passphrase = properties.getProperty("bintray.gpg.password") //Optional. The passphrase for GPG signing'
60+ }
61+ }
62+ }
63+ }
Original file line number Diff line number Diff line change 1+ apply plugin : ' com.github.dcendents.android-maven'
2+
3+ group = publishedGroupId
4+
5+ install {
6+ repositories. mavenInstaller {
7+ // This generates POM.xml with proper parameters
8+ pom {
9+ project {
10+ packaging ' aar'
11+ groupId publishedGroupId
12+ artifactId publishedArtifactId
13+
14+ name libraryName
15+ description libraryDescription
16+ url siteUrl
17+
18+ licenses {
19+ license {
20+ name licenseName
21+ url licenseUrl
22+ }
23+ }
24+ developers {
25+ developer {
26+ id developerId
27+ name developerName
28+ email developerEmail
29+ }
30+ }
31+ scm {
32+ connection gitUrl
33+ developerConnection gitUrl
34+ url siteUrl
35+ }
36+ }
37+ }
38+ }
39+ }
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33distributionPath =wrapper/dists
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
6- distributionUrl =https\://services.gradle.org/distributions/gradle-3.3 -all.zip
6+ distributionUrl =https\://services.gradle.org/distributions/gradle-4.4 -all.zip
Original file line number Diff line number Diff line change @@ -29,5 +29,31 @@ dependencies {
2929 compile ' com.android.support:appcompat-v7:25.1.1'
3030 compile ' io.reactivex.rxjava2:rxjava:2.0.1'
3131 compile ' io.reactivex.rxjava2:rxandroid:2.0.1'
32+ }
33+
34+ ext {
35+ bintrayRepo = ' version-update-handler'
36+ bintrayName = ' status-resolver'
37+ bintrayOrganisation = ' ackeecz'
38+
39+ publishedGroupId = ' cz.ackee.updatechecker'
40+ publishedArtifactId = ' status-resolver'
41+
42+ libraryName = ' Version Status Resolver'
43+ libraryDescription = ' Compares current application version number to the versions that are stored in remote locations and show the dialog to the user with prompt to update their app'
44+ libraryVersion = ' 1.0.1'
45+
46+ siteUrl = ' https://github.com/AckeeCZ/version-update-handler'
47+ gitUrl = ' https://github.com/AckeeCZ/version-update-handler.git'
48+
49+ developerId = ' ackee'
50+ developerName = ' Ackee'
51+ developerEmail = ' info@ackee.cz'
52+
53+ licenseName = ' The Apache Software License, Version 2.0'
54+ licenseUrl = ' http://www.apache.org/licenses/LICENSE-2.0.txt'
55+ allLicenses = [" Apache-2.0" ]
56+ }
3257
33- }
58+ apply from : rootProject. file(' gradle/bintray/install.gradle' )
59+ apply from : rootProject. file(' gradle/bintray/bintray.gradle' )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -29,4 +29,31 @@ dependencies {
2929
3030 testCompile ' junit:junit:4.12'
3131 compile project(" :library" )
32- }
32+ }
33+
34+ ext {
35+ bintrayRepo = ' version-update-handler'
36+ bintrayName = ' rest-fetcher'
37+ bintrayOrganisation = ' ackeecz'
38+
39+ publishedGroupId = ' cz.ackee.updatechecker'
40+ publishedArtifactId = ' rest-fetcher'
41+
42+ libraryName = ' Rest Fetcher'
43+ libraryDescription = ' Fetches current version information from remote API'
44+ libraryVersion = ' 1.0.1'
45+
46+ siteUrl = ' https://github.com/AckeeCZ/version-update-handler'
47+ gitUrl = ' https://github.com/AckeeCZ/version-update-handler.git'
48+
49+ developerId = ' ackee'
50+ developerName = ' Ackee'
51+ developerEmail = ' info@ackee.cz'
52+
53+ licenseName = ' The Apache Software License, Version 2.0'
54+ licenseUrl = ' http://www.apache.org/licenses/LICENSE-2.0.txt'
55+ allLicenses = [" Apache-2.0" ]
56+ }
57+
58+ apply from : rootProject. file(' gradle/bintray/install.gradle' )
59+ apply from : rootProject. file(' gradle/bintray/bintray.gradle' )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments