Skip to content

Commit 7f193c6

Browse files
Jitpack release init
1 parent fce809c commit 7f193c6

File tree

2 files changed

+19
-9
lines changed

2 files changed

+19
-9
lines changed

jitpack.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
jdk:
2+
- openjdk11
3+
before_install:
4+
- ./scripts/prepareJitpackEnvironment.sh

sliding-bar/build.gradle

Lines changed: 15 additions & 9 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 {
@@ -36,15 +37,20 @@ android {
3637
}
3738

3839
dependencies {
39-
40-
implementation 'androidx.core:core-ktx:1.7.0'
4140
implementation "androidx.compose.ui:ui:$compose_version"
4241
implementation "androidx.compose.material:material:$compose_version"
43-
implementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
44-
testImplementation 'junit:junit:4.13.2'
45-
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
46-
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
47-
androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version"
48-
debugImplementation "androidx.compose.ui:ui-tooling:$compose_version"
49-
debugImplementation "androidx.compose.ui:ui-test-manifest:$compose_version"
42+
}
43+
44+
afterEvaluate {
45+
publishing {
46+
publications {
47+
release(MavenPublication) {
48+
from components.release
49+
50+
groupId = 'com.github.cybercoder-naj'
51+
artifactId = 'sliding-bar-compose'
52+
version = '1.0'
53+
}
54+
}
55+
}
5056
}

0 commit comments

Comments
 (0)