Skip to content

Commit

Permalink
Initial
Browse files Browse the repository at this point in the history
  • Loading branch information
magneto3572 committed Jul 2, 2022
1 parent 1942bdf commit 3578afe
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
14 changes: 14 additions & 0 deletions MagOtpLib/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
plugins {
id 'maven-publish'
id 'com.android.library'
id 'org.jetbrains.kotlin.android'
}
Expand Down Expand Up @@ -40,6 +41,19 @@ android {
}
}

afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release
groupId = 'com.github.mangneto3572'
artifactId = 'Magotp'
version = '1.0.0'
}
}
}
}

dependencies {

implementation 'androidx.core:core-ktx:1.8.0'
Expand Down
5 changes: 4 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
plugins {
id 'maven-publish'
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
}
Expand Down Expand Up @@ -45,6 +46,7 @@ android {
}
}


dependencies {

implementation project(":MagOtpLib")
Expand All @@ -60,4 +62,5 @@ dependencies {
androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version"
debugImplementation "androidx.compose.ui:ui-tooling:$compose_version"
debugImplementation "androidx.compose.ui:ui-test-manifest:$compose_version"
}
}

2 changes: 2 additions & 0 deletions jitpack.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
jdk:
- openjdk11

0 comments on commit 3578afe

Please sign in to comment.