Skip to content

Commit

Permalink
Prepare to publish to localMaven
Browse files Browse the repository at this point in the history
  • Loading branch information
mishkov committed Aug 22, 2022
1 parent 04e87ed commit 7cb6000
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply plugin: 'com.android.library'
apply plugin: 'maven-publish'

buildscript {

repositories {
google()
mavenCentral()
Expand All @@ -11,6 +11,26 @@ buildscript {
}
}

publishing {
publications {
release(MavenPublication) {
groupId = 'com.android.library'
artifactId = 'kiss-fft-jni'
version = '0.0.5'

afterEvaluate {
from components.release
}
}
}
repositories {
maven {
name = 'mishkovsrepo'
url = "${project.buildDir}/repo"
}
}
}

repositories {
google()
mavenCentral()
Expand Down Expand Up @@ -42,6 +62,11 @@ android {
path "CMakeLists.txt"
}
}
publishing {
singleVariant('release') {
withSourcesJar()
}
}
}

dependencies {
Expand Down

0 comments on commit 7cb6000

Please sign in to comment.