build: update android build tools and configurations
This commit is contained in:
parent
a8541ecd40
commit
43ff1fb394
@ -1,14 +1,10 @@
|
|||||||
buildscript {
|
|
||||||
repositories {
|
|
||||||
google()
|
|
||||||
}
|
|
||||||
dependencies {
|
|
||||||
classpath("com.android.tools.build:gradle:7.1.2")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
|
id("com.android.library").version("8.3.1").apply(false)
|
||||||
|
id("org.jetbrains.kotlin.android").version("1.6.10").apply(false)
|
||||||
|
id("org.gradle.maven-publish")
|
||||||
|
id("org.gradle.signing")
|
||||||
|
id("org.bitcoindevkit.plugins.generate-android-bindings").apply(false)
|
||||||
|
id("io.github.gradle-nexus.publish-plugin").version("1.1.0").apply(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
// library version is defined in gradle.properties
|
// library version is defined in gradle.properties
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
|
#Thu Mar 28 12:04:56 EDT 2024
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.2-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
@ -5,25 +5,20 @@ val libraryVersion: String by project
|
|||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("com.android.library")
|
id("com.android.library")
|
||||||
id("org.jetbrains.kotlin.android") version "1.6.10"
|
id("org.jetbrains.kotlin.android")
|
||||||
id("maven-publish")
|
id("org.gradle.maven-publish")
|
||||||
id("signing")
|
id("org.gradle.signing")
|
||||||
|
|
||||||
// Custom plugin to generate the native libs and bindings file
|
// Custom plugin to generate the native libs and bindings file
|
||||||
id("org.bitcoindevkit.plugins.generate-android-bindings")
|
id("org.bitcoindevkit.plugins.generate-android-bindings")
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
|
||||||
mavenCentral()
|
|
||||||
google()
|
|
||||||
}
|
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdk = 33
|
namespace = "org.bitcoindevkit"
|
||||||
|
compileSdk = 34
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdk = 21
|
minSdk = 21
|
||||||
targetSdk = 33
|
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
consumerProguardFiles("consumer-rules.pro")
|
consumerProguardFiles("consumer-rules.pro")
|
||||||
}
|
}
|
||||||
|
@ -2,3 +2,18 @@ rootProject.name = "bdk-android"
|
|||||||
|
|
||||||
include(":lib")
|
include(":lib")
|
||||||
includeBuild("plugins")
|
includeBuild("plugins")
|
||||||
|
|
||||||
|
pluginManagement {
|
||||||
|
repositories {
|
||||||
|
google()
|
||||||
|
gradlePluginPortal()
|
||||||
|
mavenCentral()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencyResolutionManagement {
|
||||||
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
|
google()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user