diff --git a/build.gradle b/build.gradle index 6905df6..7ad7c66 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. -def githubProperties = new Properties() -githubProperties.load(new FileInputStream(rootProject.file("local.properties"))) +//def githubProperties = new Properties() +//githubProperties.load(new FileInputStream(rootProject.file("local.properties"))) buildscript { ext.kotlin_version = '1.3.50' @@ -29,8 +29,8 @@ allprojects { name = "android-sdk" url = uri("https://maven.pkg.github.com/kkiapay/android-sdk") credentials { - username = System.getenv('GITHUB_USER') ?: project.properties['GITHUB_USER'] - password = System.getenv('GITHUB_PERSONAL_ACCESS_TOKEN') ?: project.properties['GITHUB_PERSONAL_ACCESS_TOKEN'] + username = System.getenv('GITHUB_USER') //?: project.properties['GITHUB_USER'] + password = System.getenv('GITHUB_PERSONAL_ACCESS_TOKEN') //?: project.properties['GITHUB_PERSONAL_ACCESS_TOKEN'] } } } diff --git a/deploy.gradle b/deploy.gradle index 0f2e773..d8fa293 100644 --- a/deploy.gradle +++ b/deploy.gradle @@ -1,8 +1,8 @@ //apply plugin: 'com.jfrog.bintray' apply plugin: 'maven-publish' -def githubProperties = new Properties() -githubProperties.load(new FileInputStream(rootProject.file("local.properties"))) +//def githubProperties = new Properties() +//githubProperties.load(new FileInputStream(rootProject.file("local.properties"))) publishing { repositories { @@ -10,8 +10,8 @@ publishing { name = "GithubPackages" url = uri("https://maven.pkg.github.com/kkiapay/android-sdk") credentials { - username = System.getenv('GITHUB_USER') ?: githubProperties['GITHUB_USER'] - password = System.getenv('GITHUB_PERSONAL_ACCESS_TOKEN') ?: githubProperties['GITHUB_PERSONAL_ACCESS_TOKEN'] + username = System.getenv('GITHUB_USER') //?: githubProperties['GITHUB_USER'] + password = System.getenv('GITHUB_PERSONAL_ACCESS_TOKEN') //?: githubProperties['GITHUB_PERSONAL_ACCESS_TOKEN'] } } diff --git a/gradle.properties b/gradle.properties index 4c611b4..5ebeac5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ -VERSION_NAME=1.2.15 -VERSION_CODE=42 +VERSION_NAME=1.2.16 +VERSION_CODE=43 org.gradle.jvmargs=-Xmx1536m android.useAndroidX=true android.enableJetifier=true