File tree Expand file tree Collapse file tree
koin-androidx-workmanager
koin-androidx-compose-navigation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,4 +26,10 @@ dependencies {
2626 implementation(project(" :android:koin-android" ))
2727}
2828
29+ // android sources
30+ val sourcesJar: TaskProvider <Jar > by tasks.registering(Jar ::class ) {
31+ archiveClassifier.set(" sources" )
32+ from(android.sourceSets.map { it.java.srcDirs })
33+ }
34+
2935apply (from = file(" ../../gradle/publish-android.gradle.kts" ))
Original file line number Diff line number Diff line change @@ -32,4 +32,10 @@ dependencies {
3232 testImplementation(libs.test.mockito)
3333}
3434
35+ // android sources
36+ val sourcesJar: TaskProvider <Jar > by tasks.registering(Jar ::class ) {
37+ archiveClassifier.set(" sources" )
38+ from(android.sourceSets.map { it.java.srcDirs })
39+ }
40+
3541apply (from = file(" ../../gradle/publish-android.gradle.kts" ))
Original file line number Diff line number Diff line change @@ -39,4 +39,10 @@ dependencies {
3939 testImplementation(libs.test.mockk)
4040}
4141
42+ // android sources
43+ val sourcesJar: TaskProvider <Jar > by tasks.registering(Jar ::class ) {
44+ archiveClassifier.set(" sources" )
45+ from(android.sourceSets.map { it.java.srcDirs })
46+ }
47+
4248apply (from = file(" ../../gradle/publish-android.gradle.kts" ))
Original file line number Diff line number Diff line change @@ -24,4 +24,10 @@ dependencies {
2424 api(libs.androidx.navigation)
2525}
2626
27+ // android sources
28+ val sourcesJar: TaskProvider <Jar > by tasks.registering(Jar ::class ) {
29+ archiveClassifier.set(" sources" )
30+ from(android.sourceSets.map { it.java.srcDirs })
31+ }
32+
2733apply (from = file(" ../../gradle/publish-android.gradle.kts" ))
Original file line number Diff line number Diff line change @@ -28,4 +28,10 @@ dependencies {
2828 testImplementation(libs.test.mockito)
2929}
3030
31+ // android sources
32+ val sourcesJar: TaskProvider <Jar > by tasks.registering(Jar ::class ) {
33+ archiveClassifier.set(" sources" )
34+ from(android.sourceSets.map { it.java.srcDirs })
35+ }
36+
3137apply (from = file(" ../../gradle/publish-android.gradle.kts" ))
Original file line number Diff line number Diff line change @@ -28,4 +28,10 @@ dependencies {
2828 implementation(libs.androidx.composeNavigation)
2929}
3030
31+ // android sources
32+ val sourcesJar: TaskProvider <Jar > by tasks.registering(Jar ::class ) {
33+ archiveClassifier.set(" sources" )
34+ from(android.sourceSets.map { it.java.srcDirs })
35+ }
36+
3137apply (from = file(" ../../gradle/publish-android.gradle.kts" ))
Original file line number Diff line number Diff line change @@ -30,4 +30,10 @@ dependencies {
3030 implementation(libs.androidx.composeViewModel)
3131}
3232
33+ // android sources
34+ val sourcesJar: TaskProvider <Jar > by tasks.registering(Jar ::class ) {
35+ archiveClassifier.set(" sources" )
36+ from(android.sourceSets.map { it.java.srcDirs })
37+ }
38+
3339apply (from = file(" ../../gradle/publish-android.gradle.kts" ))
Original file line number Diff line number Diff line change @@ -34,6 +34,8 @@ kotlin {
3434 sourceSets {
3535 commonMain.dependencies {
3636 api(project(" :core:koin-core" ))
37+ // TODO remove in 3.6
38+ implementation(libs.kotlin.test)
3739 }
3840 jvmMain.dependencies {
3941 implementation(kotlin(" reflect" ))
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ org.gradle.parallel=true
88kotlin.code.style =official
99
1010# Koin
11- koinVersion =3.5.4
12- koinComposeVersion =1.1.3
11+ koinVersion =3.5.5
12+ koinComposeVersion =1.1.4
1313
1414# Compose
1515composeCompiler =1.5.10
Original file line number Diff line number Diff line change 11apply (plugin = " maven-publish" )
22
33val javadocJar = tasks.getByName(" javadocJar" )
4+ val sourcesJar = tasks.getByName(" sourcesJar" )
45
56configure<PublishingExtension > {
67 publications {
78 register<MavenPublication >(" release" ) {
9+ artifact(sourcesJar)
810 artifact(javadocJar)
911 afterEvaluate {
1012 from(components[" release" ])
You can’t perform that action at this time.
0 commit comments