File tree Expand file tree Collapse file tree 2 files changed +11
-15
lines changed
Expand file tree Collapse file tree 2 files changed +11
-15
lines changed Original file line number Diff line number Diff line change @@ -13,19 +13,19 @@ plugins {
1313 `maven- publish`
1414}
1515
16- repositories {
17- maven(" https://reposilite.silenium.dev/releases" ) {
18- name = " reposilite"
19- }
20- mavenCentral()
21- maven(" https://maven.pkg.jetbrains.space/public/p/compose/dev" )
22- google()
23- }
24-
2516allprojects {
2617 apply<MavenPublishPlugin >()
2718 apply<BasePlugin >()
2819
20+ repositories {
21+ maven(" https://reposilite.silenium.dev/releases" ) {
22+ name = " reposilite"
23+ }
24+ mavenCentral()
25+ maven(" https://maven.pkg.jetbrains.space/public/p/compose/dev" )
26+ google()
27+ }
28+
2929 this .group = " dev.silenium.compose.gl"
3030 this .version = findProperty(" deploy.version" ) as String? ? : " 0.0.0-SNAPSHOT"
3131
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import dev.silenium.libs.jni.Platform.Arch
33import dev.silenium.libs.jni.Platform.OS
44
55plugins {
6- `java- platform `
6+ `java- library `
77}
88
99val supportedPlatforms = listOf (
@@ -14,10 +14,6 @@ val supportedPlatforms = listOf(
1414)
1515val libName = rootProject.name
1616
17- javaPlatform {
18- allowDependencies()
19- }
20-
2117dependencies {
2218 api(libs.jni.utils)
2319 supportedPlatforms.forEach { platform ->
@@ -29,7 +25,7 @@ publishing {
2925 publications {
3026 create<MavenPublication >(" nativesAll" ) {
3127 artifactId = allNativesArtifactId
32- from(components[" javaPlatform " ])
28+ from(components[" java " ])
3329 }
3430 }
3531}
You can’t perform that action at this time.
0 commit comments