Skip to content

Commit

Permalink
add jitpack dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Amir-yazdanmanesh committed Mar 11, 2022
1 parent 7da0037 commit 85c4e9d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
19 changes: 18 additions & 1 deletion BLE-lib/build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
plugins {
id "com.android.library"
id 'kotlin-android'
id 'maven-publish'
}

group = 'com.github.Amir-yazdanmanesh'
version = '1.0.1'
android {
compileSdk 31

Expand All @@ -25,7 +27,22 @@ android {
jvmTarget = '1.8'
}
}
afterEvaluate {
publishing {
publications {
// Creates a Maven publication called "release".
release(MavenPublication) {
// Applies the component for the release build variant.
from components.release
// You can then customize attributes of the publication as shown below.
groupId = 'com.github.Amir-yazdanmanesh'
artifactId = 'Accessibility-Service-Browser-URL-Filter'
version = '1.0.1'
}

}
}
}
dependencies {

implementation 'androidx.core:core-ktx:1.7.0'
Expand Down
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@ buildscript {
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }

}
dependencies {
classpath "com.android.tools.build:gradle:7.0.2"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30"
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down

0 comments on commit 85c4e9d

Please sign in to comment.