Skip to content

Commit

Permalink
removed belkacar dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
stfbee committed Sep 2, 2024
1 parent 30e0349 commit c060afb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 33 deletions.
12 changes: 0 additions & 12 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,15 @@ buildscript {
dependencies {
classpath "com.android.tools.build:gradle:7.3.1"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:latest.release"
}
}

allprojects {
apply plugin: "com.jfrog.artifactory"
apply plugin: "maven-publish"

repositories {
google()
mavenCentral()
maven { url "https://jfrog.belkacar.ru/artifactory/belkacar-maven-local" }
}
}

Expand All @@ -28,12 +25,3 @@ task clean(type: Delete) {
}


artifactory {
contextUrl = "https://jfrog.belkacar.ru/artifactory"
publish {
repository {
repoKey = "belkacar-maven-local"
maven = true
}
}
}
28 changes: 7 additions & 21 deletions loaderviewlibrary/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'maven-publish'

android {
compileSdkVersion 33
Expand All @@ -23,27 +24,12 @@ dependencies {
implementation "androidx.core:core-ktx:1.9.0"
}

ext {
PUBLISH_GROUP_ID = 'eu.rexalto.forks'
PUBLISH_VERSION = '4.0.1'
PUBLISH_ARTIFACT_ID = 'loaderviewlibrary'
}
group = PUBLISH_GROUP_ID
version = PUBLISH_VERSION

artifactoryPublish.dependsOn("assemble")

publishing {
publications {
aar(MavenPublication) {
artifactId = PUBLISH_ARTIFACT_ID
groupId = PUBLISH_GROUP_ID
version = PUBLISH_VERSION
artifact("$buildDir/outputs/aar/loaderviewlibrary-release.aar")
afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release
}
}
}
}

artifactoryPublish {
publications(publishing.publications.aar)
}

0 comments on commit c060afb

Please sign in to comment.