File tree 4 files changed +21
-12
lines changed
convention/publishing/src/main/kotlin/com/attafitamim/kabin/publish
4 files changed +21
-12
lines changed Original file line number Diff line number Diff line change 7
7
.externalNativeBuild
8
8
.cxx
9
9
local.properties
10
- xcuserdata
10
+ xcuserdata
11
+ .kotlin
Original file line number Diff line number Diff line change 1
1
package com.attafitamim.kabin.publish
2
2
3
3
import com.vanniktech.maven.publish.MavenPublishBaseExtension
4
+ import com.vanniktech.maven.publish.SonatypeHost
4
5
import org.gradle.api.Plugin
5
6
import org.gradle.api.Project
6
7
import org.gradle.api.publish.maven.MavenPom
@@ -10,7 +11,7 @@ import org.gradle.api.publish.maven.MavenPomScm
10
11
11
12
class PublishConventions : Plugin <Project > {
12
13
13
- private val version = " 0.1.0-alpha12 "
14
+ private val version = " 0.1.0-alpha13 "
14
15
private val group = " com.attafitamim.kabin"
15
16
16
17
override fun apply (project : Project ) {
@@ -23,7 +24,10 @@ class PublishConventions : Plugin<Project> {
23
24
mavenPublishing.apply {
24
25
coordinates(group, artifact, version)
25
26
pom(MavenPom ::configure)
26
- publishToMavenCentral(com.vanniktech.maven.publish.SonatypeHost .CENTRAL_PORTAL )
27
+ publishToMavenCentral(
28
+ SonatypeHost .CENTRAL_PORTAL ,
29
+ automaticRelease = true
30
+ )
27
31
signAllPublications()
28
32
}
29
33
}
Original file line number Diff line number Diff line change 3
3
android-gradle-plugin = " 8.3.2"
4
4
core-ktx = " 1.13.1"
5
5
junit = " 4.13.2"
6
- androidx-test-ext-junit = " 1.1.5 "
7
- espresso-core = " 3.5 .1"
8
- appcompat = " 1.6.1 "
9
- material = " 1.11 .0"
6
+ androidx-test-ext-junit = " 1.2.1 "
7
+ espresso-core = " 3.6 .1"
8
+ appcompat = " 1.7.0 "
9
+ material = " 1.12 .0"
10
10
11
11
# Kotlin
12
- kotlin = " 1.9.24 "
13
- kotlin-poet = " 1.16.0 "
14
- kotlin-coroutines = " 1.8 .0"
15
- kotlin-ksp = " 1.9.24 -1.0.20 "
12
+ kotlin = " 2.0.20 "
13
+ kotlin-poet = " 1.18.1 "
14
+ kotlin-coroutines = " 1.9 .0"
15
+ kotlin-ksp = " 2.0.20 -1.0.25 "
16
16
17
17
# Docs
18
18
dokka = " 1.9.20"
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Pod::Spec.new do |spec|
8
8
spec . summary = 'Some description for the Shared Module'
9
9
spec . vendored_frameworks = 'build/cocoapods/framework/shared.framework'
10
10
spec . libraries = 'c++'
11
- spec . ios . deployment_target = '16.0'
11
+ spec . ios . deployment_target = '16.0'
12
12
13
13
14
14
if !Dir . exist? ( 'build/cocoapods/framework/shared.framework' ) || Dir . empty? ( 'build/cocoapods/framework/shared.framework' )
@@ -22,6 +22,10 @@ Pod::Spec.new do |spec|
22
22
Alternatively, proper pod installation is performed during Gradle sync in the IDE (if Podfile location is set)"
23
23
end
24
24
25
+ spec . xcconfig = {
26
+ 'ENABLE_USER_SCRIPT_SANDBOXING' => 'NO' ,
27
+ }
28
+
25
29
spec . pod_target_xcconfig = {
26
30
'KOTLIN_PROJECT_PATH' => ':sample:shared' ,
27
31
'PRODUCT_MODULE_NAME' => 'shared' ,
You can’t perform that action at this time.
0 commit comments