File tree Expand file tree Collapse file tree 7 files changed +118
-25
lines changed Expand file tree Collapse file tree 7 files changed +118
-25
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,10 @@ tasks {
71
71
72
72
subprojects {
73
73
74
+ apply (plugin= " maven-publish" )
75
+
74
76
group = " dev.gitlive"
77
+ version = " 0.1.0-beta"
75
78
76
79
repositories {
77
80
mavenLocal()
Original file line number Diff line number Diff line change @@ -6,15 +6,13 @@ plugins {
6
6
id(" com.android.library" )
7
7
kotlin(" multiplatform" )
8
8
kotlin(" native.cocoapods" )
9
- `maven- publish`
10
9
}
10
+
11
11
repositories {
12
12
mavenCentral()
13
13
google()
14
14
}
15
15
16
- version = " 0.1.0-beta"
17
-
18
16
android {
19
17
compileSdkVersion(property(" targetSdkVersion" ) as Int )
20
18
defaultConfig {
@@ -82,3 +80,22 @@ kotlin {
82
80
}
83
81
}
84
82
}
83
+
84
+ publishing {
85
+ repositories {
86
+ maven {
87
+ name = " GitHubPackages"
88
+ url = uri(" https://maven.pkg.github.com/gitliveapp/packages" )
89
+ credentials {
90
+ username = project.property(" gpr.user" ) as String
91
+ password = project.property(" gpr.key" ) as String
92
+ }
93
+ }
94
+ }
95
+ publications {
96
+ register(" gpr" , MavenPublication ::class ) {
97
+ from(components[" kotlin" ])
98
+ }
99
+
100
+ }
101
+ }
Original file line number Diff line number Diff line change 1
-
2
1
plugins {
3
2
id(" com.android.library" )
4
3
kotlin(" multiplatform" )
5
4
kotlin(" native.cocoapods" )
6
- `maven- publish`
7
5
}
8
6
9
- version = " 0.1.0-beta"
10
-
11
7
android {
12
8
compileSdkVersion(property(" targetSdkVersion" ) as Int )
13
9
defaultConfig {
@@ -74,3 +70,22 @@ kotlin {
74
70
}
75
71
}
76
72
}
73
+
74
+ publishing {
75
+ repositories {
76
+ maven {
77
+ name = " GitHubPackages"
78
+ url = uri(" https://maven.pkg.github.com/gitliveapp/packages" )
79
+ credentials {
80
+ username = project.property(" gpr.user" ) as String
81
+ password = project.property(" gpr.key" ) as String
82
+ }
83
+ }
84
+ }
85
+ publications {
86
+ register(" gpr" , MavenPublication ::class ) {
87
+ from(components[" kotlin" ])
88
+ }
89
+
90
+ }
91
+ }
Original file line number Diff line number Diff line change @@ -8,13 +8,7 @@ plugins {
8
8
kotlin(" multiplatform" )
9
9
kotlin(" native.cocoapods" )
10
10
kotlin(" plugin.serialization" ) version " 1.3.70"
11
- `maven- publish`
12
11
}
13
- repositories {
14
- mavenCentral()
15
- google()
16
- }
17
- version = " 0.1.0-beta"
18
12
19
13
android {
20
14
compileSdkVersion(property(" targetSdkVersion" ) as Int )
@@ -88,3 +82,22 @@ kotlin {
88
82
}
89
83
}
90
84
}
85
+
86
+ publishing {
87
+ repositories {
88
+ maven {
89
+ name = " GitHubPackages"
90
+ url = uri(" https://maven.pkg.github.com/gitliveapp/packages" )
91
+ credentials {
92
+ username = project.property(" gpr.user" ) as String
93
+ password = project.property(" gpr.key" ) as String
94
+ }
95
+ }
96
+ }
97
+ publications {
98
+ register(" gpr" , MavenPublication ::class ) {
99
+ from(components[" kotlin" ])
100
+ }
101
+
102
+ }
103
+ }
Original file line number Diff line number Diff line change 1
-
2
1
plugins {
3
2
id(" com.android.library" )
4
3
kotlin(" multiplatform" )
5
4
kotlin(" native.cocoapods" )
6
- `maven- publish`
7
5
}
8
6
9
- version = " 0.1.0-beta"
10
-
11
7
android {
12
8
compileSdkVersion(property(" targetSdkVersion" ) as Int )
13
9
defaultConfig {
@@ -75,3 +71,22 @@ kotlin {
75
71
}
76
72
}
77
73
}
74
+
75
+ publishing {
76
+ repositories {
77
+ maven {
78
+ name = " GitHubPackages"
79
+ url = uri(" https://maven.pkg.github.com/gitliveapp/packages" )
80
+ credentials {
81
+ username = project.property(" gpr.user" ) as String
82
+ password = project.property(" gpr.key" ) as String
83
+ }
84
+ }
85
+ }
86
+ publications {
87
+ register(" gpr" , MavenPublication ::class ) {
88
+ from(components[" kotlin" ])
89
+ }
90
+
91
+ }
92
+ }
Original file line number Diff line number Diff line change 1
-
2
1
plugins {
3
2
id(" com.android.library" )
4
3
kotlin(" multiplatform" )
5
4
kotlin(" native.cocoapods" )
6
- `maven- publish`
7
5
}
8
6
9
- version = " 0.1.0-beta"
10
-
11
7
android {
12
8
compileSdkVersion(property(" targetSdkVersion" ) as Int )
13
9
defaultConfig {
@@ -76,3 +72,22 @@ kotlin {
76
72
}
77
73
}
78
74
}
75
+
76
+ publishing {
77
+ repositories {
78
+ maven {
79
+ name = " GitHubPackages"
80
+ url = uri(" https://maven.pkg.github.com/gitliveapp/packages" )
81
+ credentials {
82
+ username = project.property(" gpr.user" ) as String
83
+ password = project.property(" gpr.key" ) as String
84
+ }
85
+ }
86
+ }
87
+ publications {
88
+ register(" gpr" , MavenPublication ::class ) {
89
+ from(components[" kotlin" ])
90
+ }
91
+
92
+ }
93
+ }
Original file line number Diff line number Diff line change 1
-
2
1
plugins {
3
2
id(" com.android.library" )
4
3
kotlin(" multiplatform" )
5
4
kotlin(" native.cocoapods" )
6
- `maven- publish`
7
5
}
8
6
9
- version = " 0.1.0-beta"
10
-
11
7
android {
12
8
compileSdkVersion(property(" targetSdkVersion" ) as Int )
13
9
defaultConfig {
@@ -75,3 +71,22 @@ kotlin {
75
71
}
76
72
}
77
73
}
74
+
75
+ publishing {
76
+ repositories {
77
+ maven {
78
+ name = " GitHubPackages"
79
+ url = uri(" https://maven.pkg.github.com/gitliveapp/packages" )
80
+ credentials {
81
+ username = project.property(" gpr.user" ) as String
82
+ password = project.property(" gpr.key" ) as String
83
+ }
84
+ }
85
+ }
86
+ publications {
87
+ register(" gpr" , MavenPublication ::class ) {
88
+ from(components[" kotlin" ])
89
+ }
90
+
91
+ }
92
+ }
You can’t perform that action at this time.
0 commit comments