File tree Expand file tree Collapse file tree 4 files changed +59
-8
lines changed Expand file tree Collapse file tree 4 files changed +59
-8
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,7 @@ import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget
77import java.util.Properties
88
99plugins {
10- kotlin(" multiplatform" ) version " 1.4.21"
11- `maven`
12- `maven- publish`
10+ kotlin(" multiplatform" ) version " 1.4.31"
1311}
1412
1513group = " aws.sdk.kotlin.crt"
@@ -101,6 +99,8 @@ jvmTest.apply {
10199 useJUnitPlatform()
102100}
103101
102+ apply (from = rootProject.file(" gradle/publish.gradle" ))
103+
104104val ktlint by configurations.creating
105105val ktlintVersion: String by project
106106
Original file line number Diff line number Diff line change @@ -3,16 +3,16 @@ kotlin.mpp.enableGranularSourceSetsMetadata=true
33# kotlin.native.ignoreDisabledTargets=true
44
55# kotlin
6- kotlinVersion =1.4.21
7- coroutinesVersion =1.4.1
6+ kotlinVersion =1.4.31
7+ coroutinesVersion =1.4.3
88
99# testing/utility
1010junitVersion =5.6.2
1111ktlintVersion =0.40.0
12- kotestVersion =4.0.5
12+ kotestVersion =4.4.1
1313
1414# elasticurl only
1515kotlinxCliVersion =0.3
1616
1717# JVM
18- crtJavaVersion =0.9.2
18+ crtJavaVersion =0.11.0
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+ * SPDX-License-Identifier: Apache-2.0.
4+ */
5+
6+ apply plugin : ' maven'
7+ apply plugin : ' maven-publish'
8+
9+
10+ publishing {
11+ repositories {
12+ maven { name = " testLocal" ; url = " $rootProject . buildDir /m2" }
13+ maven {
14+ name = " awsCodeArtifact"
15+ url = project. findProperty(" codeartifact.url" )
16+ credentials {
17+ username = " aws"
18+ password = project. findProperty(" codeartifact.token" ) ?: System . getenv(" CODEARTIFACT_TOKEN" )
19+ }
20+ }
21+ }
22+
23+ publications. all {
24+ pom {
25+ url = " https://github.com/awslabs/aws-crt-kotlin"
26+ licenses {
27+ license {
28+ name = " The Apache License, Version 2.0"
29+ url = " http://www.apache.org/licenses/LICENSE-2.0.txt"
30+ }
31+ }
32+ developers {
33+ developer {
34+ id = " aws-crt-kotlin"
35+ name = " AWS SDK Kotlin Team"
36+ // TODO - team email?
37+ }
38+ }
39+ scm {
40+ connection = " scm:git:git://github.com/awslabs/aws-crt-kotlin.git"
41+ developerConnection = " scm:git:ssh://github.com/awslabs/aws-crt-kotlin.git"
42+ url = " https://github.com/awslabs/aws-crt-kotlin"
43+ }
44+ }
45+ }
46+ }
47+
48+ tasks. register(' publishToAwsCodeArtifact' ) {
49+ dependsOn ' publishAllPublicationsToAwsCodeArtifactRepository'
50+ group ' publishing'
51+ }
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-6.7.1 -bin.zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-6.8.3 -bin.zip
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments