File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed
.gradle/buildOutputCleanup Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -66,25 +66,26 @@ android {
6666}
6767
6868val githubProperties = Properties ()
69- runCatching { githubProperties.load(FileInputStream (rootProject.file(" github.properties" ))) }
69+ try {
70+ githubProperties.load(FileInputStream (rootProject.file(" github.properties" )))
71+ }catch (ex : Exception ){
72+ ex.printStackTrace()
73+ }
7074
7175afterEvaluate {
7276 publishing {
7377 repositories {
7478 maven {
7579 name = " GithubPackages"
76- /* * Configure path of your package repository on Github
77- * Replace GITHUB_USERID with your/organisation Github userID and REPOSITORY with the repository name on GitHub
78- */
7980 url = uri(" https://maven.pkg.github.com/codeckle/compose-code-editor" )
80-
81- kotlin.runCatching {
81+ try {
8282 credentials {
83- /* *Create github.properties in root project folder file with gpr.usr=GITHUB_USER_ID & gpr.key=PERSONAL_ACCESS_TOKEN**/
8483 username = (githubProperties[" gpr.usr" ] ? : System .getenv(" GPR_USER" )).toString()
8584 password = (githubProperties[" gpr.key" ] ? : System .getenv(" GPR_API_KEY" )).toString()
8685 }
87- }.onFailure { it.printStackTrace() }
86+ }catch (ex : Exception ){
87+ ex.printStackTrace()
88+ }
8889 }
8990 }
9091 }
You can’t perform that action at this time.
0 commit comments