Skip to content

Commit b0c8057

Browse files
committed
Add to jitpack repository
1 parent 8d58502 commit b0c8057

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

composeform/build.gradle

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
plugins {
22
id 'com.android.library'
33
id 'org.jetbrains.kotlin.android'
4+
id 'maven-publish'
45
}
56

67
android {
@@ -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

4250
dependencies {
@@ -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
}

jitpack.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
jdk:
2+
- openjdk11

0 commit comments

Comments
 (0)