Skip to content
This repository has been archived by the owner on Apr 24, 2021. It is now read-only.

Commit

Permalink
Using jna's android archive (aar) to support f-droid publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
desyncr committed Sep 4, 2020
1 parent 9fa8cc6 commit a266366
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ apply plugin: 'java'
apply plugin: 'maven-publish'

repositories {
mavenLocal() // TODO: use lib/ instead?
maven { url 'https://mvn.freenetproject.org' }
jcenter()
maven { url 'https://jitpack.io' }
}
Expand Down Expand Up @@ -219,7 +217,7 @@ copyRuntimeLibs.dependsOn jar
// In this section you declare the dependencies for your production and test code
dependencies {
compile "org.bouncycastle:bcprov-jdk15on:1.59"
compile "net.java.dev.jna:jna:4.5.2"
compile "net.java.dev.jna:jna:4.5.2@aar"
compile "net.java.dev.jna:jna-platform:4.5.2"
compile "org.apache.commons:commons-compress:1.4.1"
compile "tanukisoft:wrapper:3.2.3"
Expand Down Expand Up @@ -247,10 +245,20 @@ dependencyVerification {
verify = [
'org.bouncycastle:bcprov-jdk15on:1c31e44e331d25e46d293b3e8ee2d07028a67db011e74cb2443285aed1d59c85',
'net.java.dev.jna:jna-platform:f1d00c167d8921c6e23c626ef9f1c3ae0be473c95c68ffa012bc7ae55a87e2d6',
'net.java.dev.jna:jna:0c8eb7acf67261656d79005191debaba3b6bf5dd60a43735a245429381dbecff',
'net.java.dev.jna:jna:3c4cbe8c023ff7ae27dd82cff25d5a9f339cfad18ecdeca382f181b619bc2945',
'org.apache.commons:commons-compress:28a00d80716f073d644b9da76e94b5e8ff94de8e9323f06f558fba653fcf5f86',
'tanukisoft:wrapper:54de7b6be77955fe54821efc28fcab2bd195cc2aabfceb29d608c12206a57918',
'com.github.freenet-mobile:onion-fec:7f68d901b4d92ac31b8edf51710381a8de7285257b5adeb88f40a52006a9bd2b',
'com.github.freenet-mobile:onion-common:df03d4b60f77c0d89bb5250fe86d928b9d2c75efccca314fc5fef55e6c42b1dc',
'com.github.freenet-mobile:mantissa:69fc4837e43ad7ca0298e547791889659ac41b119ea6545b8f436f48119bbd02',
'com.github.freenet-mobile:lzmajio:16a87b7f14e7c810de585093314164990346fabeab95d0c8ca9e7e149129c671',
'org.b1.pack:lzma-sdk-4j:6da258d8fecc5359a95922b236166d903146f589e3c806856124008c78596d55',
'com.github.freenet-mobile:bitcollider-core:a96da4f57749608c7c7fe4b8288388b08a3ad51f3b8177cdac47f2405db91a23',
'com.github.freenet-mobile:freenet-ext:413772f55eac72d39aae8bc20300e810249147d930f817c24434efcddba728ac',
'junit:junit:59721f0805e223d84b90677887d9ff567dc534d7c502ca903c0c2b17f05c116a',
'org.mockito:mockito-core:f97483ba0944b9fa133aa29638764ddbeadb51ec3dbc02074c58fa2caecd07fa',
'org.hamcrest:hamcrest-library:711d64522f9ec410983bd310934296da134be4254a125080a0416ec178dfad1c',
'org.tukaani:xz:7eafdc8880da10286c2398fa42e3bf68c3e845c35ae7a6ae67f5cc1fa16c7405',
'org.hamcrest:hamcrest-core:66fdef91e9739348df7a096aa384a5685f4e875584cce89386a7a47251c4d8e9',
'org.objenesis:objenesis:c5694b55d92527479382f254199b3c6b1d8780f652ad61e9ca59919887f491a8',
]
Expand Down Expand Up @@ -284,4 +292,4 @@ task tar(type: Tar) {

javadoc << {
failOnError false
}
}

0 comments on commit a266366

Please # to comment.