Skip to content

Commit

Permalink
fix: make publish works
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Feb 23, 2022
1 parent 8c30d35 commit d784c26
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ subprojects {
val snapshotsRepoUrl = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
url = if (version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl else releasesRepoUrl

credentials {
username = (project.findProperty("sonatypeUsername") ?: System.getenv("GITHUB_USERNAME")).toString()
password = (project.findProperty("sonatypePassword") ?: System.getenv("GITHUB_TOKEN")).toString()
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
kotlin.code.style=official
kotlin.code.style=official

0 comments on commit d784c26

Please sign in to comment.