Skip to content

Commit 89dd91c

Browse files
committed
Update Module Data for Publishing with teogor/winds
1 parent 50484c4 commit 89dd91c

File tree

239 files changed

+6812
-1132
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

239 files changed

+6812
-1132
lines changed

app/build.gradle.kts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -127,22 +127,22 @@ android {
127127

128128
dependencies {
129129
// application configuration
130-
implementation(project(":framework:core"))
130+
implementation(projects.framework.frameworkCore)
131131

132132
// screen builder
133-
implementation(project(":screen:builder"))
134-
implementation(project(":screen:core"))
133+
implementation(projects.screen.builder)
134+
implementation(projects.screen.screenCore)
135135

136136
// default screens
137137
// TODO split into locale and ui
138-
implementation(project(":screen:ui"))
138+
implementation(projects.screen.screenUi)
139139

140140
// theme config
141-
implementation(project(":ui:theme"))
141+
implementation(projects.ui.theme)
142142

143143
// monetisation
144-
implementation(project(":monetisation:admob"))
145-
implementation(project(":monetisation:messaging"))
144+
implementation(projects.monetisation.admob)
145+
implementation(projects.monetisation.messaging)
146146

147147
implementation(libs.kotlinx.serialization.json)
148148
implementation(libs.kotlinx.serialization.protobuf)

app/src/main/kotlin/dev/teogor/ceres/feature/home/HomeScreen.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ private fun HomeScreen(
172172
},
173173
)
174174

175-
repeat(10) {
175+
repeat(1) {
176176
NativeAd<HomeNativeAdBeta>()
177177
repeat(5) {
178178
Box(

app/src/main/res/values/strings.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@
1515
limitations under the License.
1616
-->
1717
<resources>
18-
<string name="app_name">Ceres</string>
18+
<string name="app_name" translatable="false">Ceres</string>
19+
<string name="admob_application_id" translatable="false">ca-app-pub-3940256099942544~3347511713</string>
1920
</resources>

backup/build.gradle.kts

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,24 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
import dev.teogor.winds.api.model.createVersion
16+
17+
import dev.teogor.winds.ktx.createVersion
1718

1819
plugins {
19-
alias(libs.plugins.winds)
20+
alias(libs.plugins.teogor.winds)
2021
}
2122

2223
winds {
23-
mavenPublish {
24-
displayName = "Backup"
25-
name = "backup"
26-
27-
version = createVersion(1, 0, 0) {
28-
alphaRelease(1)
24+
moduleMetadata {
25+
artifactDescriptor {
26+
name = "Backup"
27+
version = createVersion(1, 0, 0) {
28+
alphaRelease(1)
29+
}
2930
}
3031
}
32+
33+
publishingOptions {
34+
publish = false
35+
}
3136
}

backup/core/build.gradle.kts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
plugins {
1718
id("dev.teogor.ceres.android.library")
1819
id("dev.teogor.ceres.android.hilt")
1920
id("kotlinx-serialization")
20-
alias(libs.plugins.winds)
21+
alias(libs.plugins.teogor.winds)
2122
}
2223

2324
android {
@@ -28,8 +29,8 @@ android {
2829
}
2930

3031
dependencies {
31-
api(project(":data:database"))
32-
api(project(":data:datastore"))
32+
api(projects.data.database)
33+
api(projects.data.datastore)
3334

3435
implementation(libs.kotlinx.datetime)
3536
implementation(libs.kotlinx.serialization.json)
@@ -38,8 +39,9 @@ dependencies {
3839
}
3940

4041
winds {
41-
mavenPublish {
42-
displayName = "Core"
43-
name = "core"
42+
moduleMetadata {
43+
artifactDescriptor {
44+
name = "Core"
45+
}
4446
}
4547
}

backup/ui/build.gradle.kts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
plugins {
1718
id("dev.teogor.ceres.android.feature")
1819
id("dev.teogor.ceres.android.library.compose")
1920
id("dev.teogor.ceres.android.library.jacoco")
2021
id("dev.teogor.ceres.android.hilt")
2122
id("kotlinx-serialization")
22-
alias(libs.plugins.winds)
23+
alias(libs.plugins.teogor.winds)
2324
}
2425

2526
android {
@@ -30,8 +31,9 @@ android {
3031
}
3132

3233
winds {
33-
mavenPublish {
34-
displayName = "UI"
35-
name = "ui"
34+
moduleMetadata {
35+
artifactDescriptor {
36+
name = "UI"
37+
}
3638
}
3739
}

bom/build.gradle.kts

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,24 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
import dev.teogor.winds.api.model.createVersion
16+
17+
import dev.teogor.winds.api.ArtifactIdFormat
18+
import dev.teogor.winds.ktx.createVersion
1719

1820
plugins {
19-
alias(libs.plugins.winds)
21+
alias(libs.plugins.teogor.winds)
2022
}
2123

2224
winds {
23-
mavenPublish {
24-
displayName = "BoM"
25-
name = "bom"
26-
27-
artifactIdElements = 1
25+
moduleMetadata {
26+
isBom = true
2827

29-
version = createVersion(1, 0, 0) {
30-
alphaRelease(4)
28+
artifactDescriptor {
29+
name = "BoM"
30+
version = createVersion(1, 0, 0) {
31+
alphaRelease(4)
32+
}
33+
artifactIdFormat = ArtifactIdFormat.NAME_ONLY
3134
}
32-
33-
defineBoM()
3435
}
3536
}

0 commit comments

Comments
 (0)