Skip to content

Commit 3e918e7

Browse files
Merge pull request benjamin-luescher#1 from benjamin-luescher/develop
Develop
2 parents 68da228 + 6df002e commit 3e918e7

File tree

3 files changed

+24
-3
lines changed

3 files changed

+24
-3
lines changed

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ The library uses reflection, to provide more flexibility in your form design. Wh
55

66
![ComposeForm](/images/logo.png "ComposeForm")
77

8-
## Overview
9-
[[_TOC_]]
10-
118
## Getting Started
129
To start using the library in your Android Compose project, follow these steps:
1310
* Add the library as a dependency in your build.gradle file.

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.1.1'
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)