Skip to content

Commit

Permalink
Use microg-ui-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
mar-v-in committed Jan 20, 2016
1 parent a775593 commit 459b372
Show file tree
Hide file tree
Showing 14 changed files with 37 additions and 544 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "extern/UnifiedNlpApi"]
path = extern/UnifiedNlpApi
url = https://github.com/microg/android_external_UnifiedNlpApi.git
[submodule "extern/MicroGUiTools"]
path = extern/MicroGUiTools
url = https://github.com/microg/android_external_MicroGUiTools.git
1 change: 1 addition & 0 deletions extern/MicroGUiTools
Submodule MicroGUiTools added at f34d87
1 change: 1 addition & 0 deletions microg-ui-tools
2 changes: 2 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ include ':unifiednlp-compat'
include ':unifiednlp-api'
include ':unifiednlp-base'
include ':unifiednlp-app'

include ':microg-ui-tools'
15 changes: 14 additions & 1 deletion unifiednlp-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,29 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.0'
classpath 'com.android.tools.build:gradle:1.5.0'
}
}

apply plugin: 'com.android.application'

String getMyVersionName() {
def stdout = new ByteArrayOutputStream()
exec {
commandLine 'git', 'describe', '--tags', '--always', '--dirty'
standardOutput = stdout
}
return stdout.toString().trim()
}

android {
compileSdkVersion 23
buildToolsVersion "23.0.2"

defaultConfig {
versionName getMyVersionName()
}

productFlavors {
NetworkLocation {
applicationId = 'com.google.android.gms'
Expand Down
19 changes: 16 additions & 3 deletions unifiednlp-base/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,36 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.0'
classpath 'com.android.tools.build:gradle:1.5.0'
}
}

apply plugin: 'com.android.library'

String getMyVersionName() {
def stdout = new ByteArrayOutputStream()
exec {
commandLine 'git', 'describe', '--tags', '--always', '--dirty'
standardOutput = stdout
}
return stdout.toString().trim()
}

android {
compileSdkVersion 23
buildToolsVersion "23.0.2"

defaultConfig {
versionName getMyVersionName()
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_6
}
}

dependencies {
compile 'com.android.support:support-v4:23.0.1'
compile 'com.android.support:appcompat-v7:23.0.1'
compile project(":microg-ui-tools")
compile project(':unifiednlp-api')
provided project(':unifiednlp-compat')
}

This file was deleted.

Loading

0 comments on commit 459b372

Please sign in to comment.