Skip to content

Commit 8b67dec

Browse files
author
Tomislav Tušek
committed
feat: build updates
1 parent 3e76e94 commit 8b67dec

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed

uploadservice-okhttp/build.gradle

+16-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,19 @@ apply plugin: 'kotlin-android'
33
apply plugin: 'kotlin-parcelize'
44
apply plugin: "org.jlleitschuh.gradle.ktlint"
55

6+
// start - do not modify this if your project is on github
7+
project.ext {
8+
mavDevelopers = [(github_username): (maintainer)]
9+
mavSiteUrl = "https://github.com/${github_username}/${github_repository_name}"
10+
mavGitUrl = mavSiteUrl + '.git'
11+
bugTrackerUrl = mavSiteUrl + '/issues/'
12+
mavProjectName = "android-upload-service-okhttp"
13+
mavLibraryLicenses = ["Apache-2.0": 'http://www.apache.org/licenses/LICENSE-2.0.txt']
14+
mavLibraryDescription = "OkHttp stack implementation for Android Upload Service."
15+
mavVersion = library_version
16+
}
17+
// end - do not modify this if your project is on github
18+
619
android {
720
namespace "net.gotev.uploadservice.okhttp"
821
compileSdkVersion 34
@@ -58,4 +71,6 @@ dependencies {
5871
//api "net.gotev:uploadservice:${version}"
5972
//comment the previous line and uncomment the next line for development (it uses the local lib)
6073
api project(':uploadservice')
61-
}
74+
}
75+
76+
apply from: 'https://raw.githubusercontent.com/sky-uk/gradle-maven-plugin/master/gradle-mavenizer.gradle'

uploadservice/build.gradle

+16-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,19 @@ apply plugin: 'kotlin-parcelize'
44
apply plugin: "org.jlleitschuh.gradle.ktlint"
55
apply plugin: 'kotlin-kapt'
66

7+
// start - do not modify this if your project is on github
8+
project.ext {
9+
mavDevelopers = [(github_username): (maintainer)]
10+
mavSiteUrl = "https://github.com/${github_username}/${github_repository_name}"
11+
mavGitUrl = mavSiteUrl + '.git'
12+
bugTrackerUrl = mavSiteUrl + '/issues/'
13+
mavProjectName = "android-upload-service"
14+
mavLibraryLicenses = ["Apache-2.0": 'http://www.apache.org/licenses/LICENSE-2.0.txt']
15+
mavLibraryDescription = "Easily upload files in the background with automatic Android Notification Center progress indication."
16+
mavVersion = library_version
17+
}
18+
// end - do not modify this if your project is on github
19+
720
android {
821
namespace "net.gotev.uploadservice"
922

@@ -69,4 +82,6 @@ dependencies {
6982
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.21"
7083

7184
implementation "androidx.work:work-runtime:2.9.0"
72-
}
85+
}
86+
87+
apply from: 'https://raw.githubusercontent.com/sky-uk/gradle-maven-plugin/master/gradle-mavenizer.gradle'

0 commit comments

Comments
 (0)