Skip to content

Commit 1de3475

Browse files
author
Armel
committed
- Intégration of GitHub Package
1 parent 56390cb commit 1de3475

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

build.gradle

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22

3-
def githubProperties = new Properties()
4-
githubProperties.load(new FileInputStream(rootProject.file("local.properties")))
3+
//def githubProperties = new Properties()
4+
//githubProperties.load(new FileInputStream(rootProject.file("local.properties")))
55

66
buildscript {
77
ext.kotlin_version = '1.3.50'
@@ -29,8 +29,8 @@ allprojects {
2929
name = "android-sdk"
3030
url = uri("https://maven.pkg.github.com/kkiapay/android-sdk")
3131
credentials {
32-
username = System.getenv('GITHUB_USER') ?: project.properties['GITHUB_USER']
33-
password = System.getenv('GITHUB_PERSONAL_ACCESS_TOKEN') ?: project.properties['GITHUB_PERSONAL_ACCESS_TOKEN']
32+
username = System.getenv('GITHUB_USER') //?: project.properties['GITHUB_USER']
33+
password = System.getenv('GITHUB_PERSONAL_ACCESS_TOKEN') //?: project.properties['GITHUB_PERSONAL_ACCESS_TOKEN']
3434
}
3535
}
3636
}

deploy.gradle

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
//apply plugin: 'com.jfrog.bintray'
22
apply plugin: 'maven-publish'
33

4-
def githubProperties = new Properties()
5-
githubProperties.load(new FileInputStream(rootProject.file("local.properties")))
4+
//def githubProperties = new Properties()
5+
//githubProperties.load(new FileInputStream(rootProject.file("local.properties")))
66

77
publishing {
88
repositories {
99
maven {
1010
name = "GithubPackages"
1111
url = uri("https://maven.pkg.github.com/kkiapay/android-sdk")
1212
credentials {
13-
username = System.getenv('GITHUB_USER') ?: githubProperties['GITHUB_USER']
14-
password = System.getenv('GITHUB_PERSONAL_ACCESS_TOKEN') ?: githubProperties['GITHUB_PERSONAL_ACCESS_TOKEN']
13+
username = System.getenv('GITHUB_USER') //?: githubProperties['GITHUB_USER']
14+
password = System.getenv('GITHUB_PERSONAL_ACCESS_TOKEN') //?: githubProperties['GITHUB_PERSONAL_ACCESS_TOKEN']
1515
}
1616
}
1717

gradle.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
VERSION_NAME=1.2.15
2-
VERSION_CODE=42
1+
VERSION_NAME=1.2.16
2+
VERSION_CODE=43
33
org.gradle.jvmargs=-Xmx1536m
44
android.useAndroidX=true
55
android.enableJetifier=true

0 commit comments

Comments
 (0)