Include patched custom libaums as a submodule
This commit is contained in:
parent
d2f9e358eb
commit
16175d278d
5 changed files with 38 additions and 2 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[submodule "libaums"]
|
||||
path = libaums
|
||||
url = https://github.com/Depau/libaums.git
|
|
@ -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'
|
||||
|
|
30
build.gradle
30
build.gradle
|
@ -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
1
libaums
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit a57ae278535946db69e2e1ea7f02171d002198a5
|
|
@ -1 +1,2 @@
|
|||
include ':app'
|
||||
include ':app', ':libaums'
|
||||
project(':libaums').projectDir = new File('libaums/libaums')
|
Loading…
Reference in a new issue