Skip to content

Commit

Permalink
Android Studio 3 compatibility (codinguser#742)
Browse files Browse the repository at this point in the history
Android Studio 3 compatibility
  • Loading branch information
mistery authored and rivaldi8 committed Nov 6, 2017
1 parent 79aa2fc commit 0ec3a54
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ static def gitSha() {

android {
compileSdkVersion 26
buildToolsVersion '26.0.1'
buildToolsVersion '27.0.0'
defaultConfig {
applicationId "org.gnucash.android"
testApplicationId 'org.gnucash.android.test'
Expand Down Expand Up @@ -49,9 +49,8 @@ android {
}

applicationVariants.all { variant ->
variant.outputs.each { output ->
output.outputFile = new File(
output.outputFile.parent, "GnucashAndroid_v${variant.versionName}.apk")
variant.outputs.all { output ->
outputFileName = "GnucashAndroid_v${variant.versionName}.apk"
}
}

Expand Down Expand Up @@ -93,6 +92,8 @@ android {
abortOnError false
}

flavorDimensions "stability"

productFlavors {
development {
applicationId 'org.gnucash.android.devel'
Expand Down Expand Up @@ -136,7 +137,6 @@ android {
resValue "string", "manifest_dropbox_app_key", "db-dhjh8ke9wf05948"
}
}

}


Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<style name="ListItemContainerBase">
<item name="android:minHeight">?android:attr/listPreferredItemHeight</item>
</style>
<style name="ListItem" parent="style/ListItemContainerBase">
<style name="ListItem" parent="ListItemContainerBase">
<item name="android:paddingLeft">@dimen/dialog_padding</item>
<item name="android:paddingRight">@dimen/dialog_padding</item>
<item name="android:paddingTop">8dp</item>
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
classpath 'com.android.tools.build:gradle:3.0.0'
classpath 'io.fabric.tools:gradle:1.21.6'
classpath 'com.stanfy.spoon:spoon-gradle-plugin:1.2.2'
}
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Tue Apr 04 18:07:15 CEST 2017
#Mon Oct 30 21:17:22 CET 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.4.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip

0 comments on commit 0ec3a54

Please sign in to comment.