File tree 6 files changed +39
-3
lines changed
6 files changed +39
-3
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ apply plugin: 'com.android.application'
2
2
apply plugin : ' kotlin-android'
3
3
apply plugin : ' kotlin-kapt'
4
4
apply plugin : ' kotlin-parcelize'
5
+ apply plugin : ' com.spotify.ruler'
5
6
6
7
android {
7
8
compileSdkVersion 34
@@ -35,6 +36,10 @@ android {
35
36
jvmTarget = " 17"
36
37
}
37
38
39
+ kotlin {
40
+ jvmToolchain(17 )
41
+ }
42
+
38
43
composeOptions {
39
44
kotlinCompilerExtensionVersion = " 1.5.4"
40
45
}
@@ -116,4 +121,11 @@ dependencies {
116
121
// Optional - Integration with RxJava
117
122
implementation(" androidx.compose.runtime:runtime-rxjava2" )
118
123
124
+ }
125
+
126
+ ruler {
127
+ abi. set(" arm64-v8a" )
128
+ locale. set(" en" )
129
+ screenDensity. set(480 )
130
+ sdkVersion. set(27 )
119
131
}
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ buildscript {
8
8
dependencies {
9
9
classpath ' com.android.tools.build:gradle:8.1.4'
10
10
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
11
+ classpath " com.spotify.ruler:ruler-gradle-plugin:2.0.0-alpha-13"
11
12
// NOTE: Do not place your application dependencies here; they belong
12
13
// in the individual module build.gradle files
13
14
}
@@ -21,7 +22,6 @@ allprojects {
21
22
}
22
23
23
24
24
-
25
25
task clean (type : Delete ) {
26
26
delete rootProject. buildDir
27
27
}
Original file line number Diff line number Diff line change @@ -22,4 +22,3 @@ kotlin.code.style=official
22
22
android.defaults.buildfeatures.buildconfig =true
23
23
android.nonTransitiveRClass =false
24
24
android.nonFinalResIds =false
25
- org.gradle.java.home =/Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home
Original file line number Diff line number Diff line change
1
+ jdk :
2
+ - openjdk17
Original file line number Diff line number Diff line change 1
1
apply plugin : ' com.android.library'
2
2
apply plugin : ' kotlin-android'
3
3
apply plugin : ' kotlin-parcelize'
4
+ apply plugin : ' maven-publish'
4
5
5
6
android {
6
7
compileSdkVersion 34
@@ -22,6 +23,10 @@ android {
22
23
jvmTarget = " 17"
23
24
}
24
25
26
+ kotlin {
27
+ jvmToolchain(17 )
28
+ }
29
+
25
30
buildFeatures {
26
31
viewBinding true
27
32
compose true
@@ -72,6 +77,14 @@ dependencies {
72
77
debugImplementation(" androidx.compose.ui:ui-test-manifest" )
73
78
74
79
implementation(" androidx.activity:activity-compose:1.8.1" )
80
+ }
75
81
76
-
82
+ afterEvaluate {
83
+ publishing {
84
+ publications {
85
+ release(MavenPublication ){
86
+ from components. release
87
+ }
88
+ }
89
+ }
77
90
}
You can’t perform that action at this time.
0 commit comments