Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
Convert Gradle script plugin for generating UniFfi bindings into a co…
Browse files Browse the repository at this point in the history
…mposite build.
  • Loading branch information
kirillzh committed Aug 24, 2022
1 parent d00813e commit 989b733
Show file tree
Hide file tree
Showing 11 changed files with 318 additions and 261 deletions.
8 changes: 0 additions & 8 deletions buildSrc/build.gradle.kts

This file was deleted.

Empty file removed buildSrc/settings.gradle.kts
Empty file.

This file was deleted.

This file was deleted.

File renamed without changes.
17 changes: 17 additions & 0 deletions plugins/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
plugins {
id("java-gradle-plugin")
`kotlin-dsl`
}

gradlePlugin {
plugins {
create("uniFfiJvmBindings") {
id = "org.bitcoindevkit.plugins.generate-jvm-bindings"
implementationClass = "org.bitcoindevkit.plugins.UniFfiJvmPlugin"
}
create("uniFfiAndroidBindings") {
id = "org.bitcoindevkit.plugins.generate-android-bindings"
implementationClass = "org.bitcoindevkit.plugins.UniFfiAndroidPlugin"
}
}
}
8 changes: 8 additions & 0 deletions plugins/settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
dependencyResolutionManagement {
repositories {
mavenCentral()
google()
}
}

include(":plugins")
Loading

0 comments on commit 989b733

Please sign in to comment.