File tree 1 file changed +1
-10
lines changed
buildSrc/src/main/kotlin/chat/giga
1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ repositories {
10
10
mavenCentral()
11
11
}
12
12
13
- extra[" signingInMemoryKey" ] = readFileAsString( System .getenv(" GPG_SIGNING_KEY" ) )
13
+ extra[" signingInMemoryKey" ] = System .getenv(" GPG_SIGNING_KEY" )
14
14
extra[" signingInMemoryKeyId" ] = System .getenv(" GPG_SIGNING_KEY_ID" )
15
15
extra[" signingInMemoryKeyPassword" ] = System .getenv(" GPG_SIGNING_PASSWORD" )
16
16
@@ -42,13 +42,4 @@ configure<MavenPublishBaseExtension> {
42
42
url.set(" https://github.com/ai-forever/gigachat-java" )
43
43
}
44
44
}
45
- }
46
-
47
- fun readFileAsString (filePath : String ): String {
48
- val file = File (filePath)
49
- return file.inputStream().use { inputStream: java.io.InputStream ->
50
- inputStream.reader(Charsets .UTF_8 ).use { reader ->
51
- reader.readText()
52
- }
53
- }
54
45
}
You can’t perform that action at this time.
0 commit comments