Skip to content

Commit

Permalink
Version 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MaciejCiemiega committed Dec 6, 2021
1 parent 7b2f9f6 commit c6fbd40
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
16 changes: 15 additions & 1 deletion advancedpreview/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id 'com.android.library'
id 'kotlin-android'
id 'maven-publish'
}

android {
Expand All @@ -10,7 +11,7 @@ android {
minSdk 21
targetSdk 31
versionCode 1
versionName "0.1"
versionName "0.1.0"

consumerProguardFiles "consumer-rules.pro"
}
Expand Down Expand Up @@ -48,4 +49,17 @@ dependencies {
implementation "androidx.compose.material:material:$compose_version"
implementation "androidx.compose.ui:ui-unit:$compose_version"
implementation "com.google.accompanist:accompanist-insets:$accompanist_version"
}

afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release
groupId = "com.mobnetic"
artifactId = "compose-advanced-preview"
version = android.defaultConfig.versionName
}
}
}
}
2 changes: 2 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
jdk:
- openjdk11
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ dependencyResolutionManagement {
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
rootProject.name = "AdvancedPreview"
Expand Down

0 comments on commit c6fbd40

Please sign in to comment.