File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed
Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 11plugins {
22 id ' com.android.library'
33 id ' org.jetbrains.kotlin.android'
4+ id ' maven-publish'
45}
56
67android {
@@ -37,6 +38,13 @@ android {
3738 compose_version = ' 1.2.0'
3839 kotlin_version = ' 1.7.0'
3940 }
41+
42+ publishing {
43+ singleVariant(" release" ) {
44+ withSourcesJar()
45+ withJavadocJar()
46+ }
47+ }
4048}
4149
4250dependencies {
@@ -54,4 +62,18 @@ dependencies {
5462
5563 // Reflection
5664 implementation(" org.jetbrains.kotlin:kotlin-reflect:$kotlin_version " )
65+ }
66+
67+ publishing {
68+ publications {
69+ release(MavenPublication ) {
70+ groupId = ' com.github.benjamin-luescher'
71+ artifactId = ' compose-form'
72+ version = ' 0.2.0-alpha'
73+
74+ afterEvaluate {
75+ from components. release
76+ }
77+ }
78+ }
5779}
Original file line number Diff line number Diff line change 1+ jdk :
2+ - openjdk11
You can’t perform that action at this time.
0 commit comments