Include patched custom libaums as a submodule

This commit is contained in:
Davide Depau 2018-08-13 22:02:21 +02:00
parent 0268929c01
commit 4e861c7c09
5 changed files with 38 additions and 2 deletions

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "libaums"]
path = libaums
url = https://github.com/Depau/libaums.git

View file

@ -30,7 +30,8 @@ dependencies {
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
implementation 'com.android.support:design:28.0.0-rc01'
implementation 'com.android.support:recyclerview-v7:28.0.0-rc01'
implementation 'com.github.mjdev:libaums:0.5.5'
// implementation 'com.github.mjdev:libaums:0.5.5'
implementation project(':libaums')
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

View file

@ -10,6 +10,11 @@ buildscript {
classpath 'com.android.tools.build:gradle:3.1.4'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// For libaums
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
classpath 'com.dicedmelon.gradle:jacoco-android:0.1.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
@ -25,3 +30,28 @@ allprojects {
task clean(type: Delete) {
delete rootProject.buildDir
}
ext {
bintrayRepo = 'maven'
publishedGroupId = 'com.github.mjdev'
libraryName = 'libaums'
// artifact comes from module as well as libraryVersion
//artifact = 'libaums'
libraryDescription = 'Android USB mass storage library with FAT32 support.'
siteUrl = 'https://github.com/mjdev/libaums'
gitUrl = 'https://github.com/mjdev/libaums.git'
developerId = 'mjdev'
developerName = 'mjahnen'
developerEmail = 'jahnen@in.tum.de'
licenseName = 'The Apache Software License, Version 2.0'
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
allLicenses = ["Apache-2.0"]
}

1
libaums Submodule

@ -0,0 +1 @@
Subproject commit a57ae278535946db69e2e1ea7f02171d002198a5

View file

@ -1 +1,2 @@
include ':app'
include ':app', ':libaums'
project(':libaums').projectDir = new File('libaums/libaums')