-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch back to the kotlin JVM plugin
This does a ton of file moves from jvmMain to main, and jvmTest to test.
- Loading branch information
1 parent
6b7b611
commit aea3b35
Showing
375 changed files
with
132 additions
and
256 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,33 @@ | ||
import com.vanniktech.maven.publish.JavadocJar | ||
import com.vanniktech.maven.publish.KotlinMultiplatform | ||
import com.vanniktech.maven.publish.KotlinJvm | ||
|
||
plugins { | ||
kotlin("multiplatform") | ||
kotlin("jvm") | ||
id("org.jetbrains.dokka") | ||
id("com.vanniktech.maven.publish.base") | ||
id("binary-compatibility-validator") | ||
} | ||
|
||
kotlin { | ||
jvm { | ||
withJava() | ||
} | ||
|
||
sourceSets { | ||
getByName("jvmMain") { | ||
dependencies { | ||
api(projects.okhttp) | ||
implementation(libs.kotlinx.coroutines.core) | ||
api(libs.squareup.okio) | ||
api(libs.kotlin.stdlib) | ||
} | ||
} | ||
getByName("jvmTest") { | ||
dependencies { | ||
implementation(libs.kotlin.test.common) | ||
implementation(libs.kotlin.test.annotations) | ||
api(libs.assertk) | ||
implementation(projects.okhttpTestingSupport) | ||
implementation(libs.kotlinx.coroutines.test) | ||
implementation(projects.mockwebserver3Junit5) | ||
} | ||
} | ||
} | ||
} | ||
|
||
project.applyOsgi( | ||
"Export-Package: okhttp3.coroutines", | ||
"Automatic-Module-Name: okhttp3.coroutines", | ||
"Bundle-SymbolicName: com.squareup.okhttp3.coroutines" | ||
) | ||
|
||
dependencies { | ||
api(projects.okhttp) | ||
implementation(libs.kotlinx.coroutines.core) | ||
api(libs.squareup.okio) | ||
api(libs.kotlin.stdlib) | ||
|
||
testImplementation(libs.kotlin.test.common) | ||
testImplementation(libs.kotlin.test.annotations) | ||
testApi(libs.assertk) | ||
testImplementation(projects.okhttpTestingSupport) | ||
testImplementation(libs.kotlinx.coroutines.test) | ||
testImplementation(projects.mockwebserver3Junit5) | ||
} | ||
|
||
mavenPublishing { | ||
configure( | ||
KotlinMultiplatform(javadocJar = JavadocJar.Empty()) | ||
) | ||
configure(KotlinJvm(javadocJar = JavadocJar.Empty())) | ||
} |
File renamed without changes.
File renamed without changes.
Oops, something went wrong.