Skip to content

Commit e1bc936

Browse files
➕ Added Jitpack yml for release and updated package name
1 parent 5535239 commit e1bc936

File tree

5 files changed

+20
-3
lines changed

5 files changed

+20
-3
lines changed

app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.example.ssjetpackcomposeswipeableview">
3+
package="com.simform.ssjetpackcomposeswipeableview">
44

55
<application
66
android:allowBackup="true"

app/src/main/java/com/example/ssjetpackcomposeswipeableview/ui/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class MainActivity : ComponentActivity() {
4848
val context = LocalContext.current
4949
Scaffold(topBar = {
5050
TopAppBar(
51-
title = { Text("SWIPE TO DELETE") },
51+
title = { Text("SWIPEABLE VIEW") },
5252
)
5353
}) {
5454
Column(Modifier.fillMaxHeight().background(Background)) {

jitpack.yml

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

ssjetpackcomposeswipeableview/build.gradle

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
11
plugins {
22
id 'com.android.library'
33
id 'kotlin-android'
4+
id 'maven-publish'
5+
}
6+
7+
afterEvaluate {
8+
publishing {
9+
publications {
10+
// Creates a Maven publication called "release".
11+
release(MavenPublication) {
12+
from components.release
13+
groupId = 'com.simform.ssjetpackcomposeswipeableview'
14+
artifactId = 'ssjetpackcomposeswipeableview'
15+
version = '1.0.0'
16+
}
17+
}
18+
}
419
}
520

621
android {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.example.ssjetpackcomposeswipeableview">
3+
package="com.simform.ssjetpackcomposeswipeableviewlibrary">
44

55
</manifest>

0 commit comments

Comments
 (0)