File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/main/kotlin/io/cloudshiftdev/gradle/codeartifact Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ description=CodeArtifact settings plugin for Gradle
33kotlin.code.style =official
44
55group =io.cloudshiftdev.codeartifact
6- version =1.0.4
6+ version =1.0.5
77
88org.gradle.jvmargs =-Dfile.encoding\=UTF-8
99org.gradle.vfs.watch =true
Original file line number Diff line number Diff line change @@ -44,11 +44,11 @@ internal class LocalCache(private val cacheDir: File) {
4444 logger.debug(" Reading cached CodeArtifact token with key {}" , endpoint.cacheKey)
4545 val decryptedBytes = decrypt(cacheFile.readBytes(), endpoint.cacheKey)
4646 val token: CodeArtifactToken = mapper.readValue(decryptedBytes)
47+ logger.info(" Retrieved CodeArtifact token from cache for key {}" , endpoint.cacheKey)
4748 if (! token.expired) return token
4849 logger.info(
49- " CodeArtifact token expired/stale. expiration: {}; now: {}; delta: {}" ,
50+ " CodeArtifact token expired/stale. expiration: {}; delta: {}" ,
5051 token.expiration,
51- Instant .now(),
5252 Duration .between(Instant .now(), token.expiration),
5353 )
5454 } catch (thrown: Exception ) {
You can’t perform that action at this time.
0 commit comments