Gradle Update to 3.0.1 with aapt
This commit is contained in:
parent
8793b454e5
commit
482ea42cd4
6 changed files with 82 additions and 94 deletions
14
build.gradle
14
build.gradle
|
@ -5,7 +5,7 @@ buildscript {
|
||||||
jcenter()
|
jcenter()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:2.3.3'
|
classpath 'com.android.tools.build:gradle:3.0.1'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -57,9 +57,9 @@ dependencies {
|
||||||
compile 'jetty:javax.servlet:5.1.12'
|
compile 'jetty:javax.servlet:5.1.12'
|
||||||
compile 'com.google.code.gson:gson:2.8.0'
|
compile 'com.google.code.gson:gson:2.8.0'
|
||||||
compile 'org.jbundle.util.osgi.wrapped:org.jbundle.util.osgi.wrapped.org.apache.http.client:4.1.2'
|
compile 'org.jbundle.util.osgi.wrapped:org.jbundle.util.osgi.wrapped.org.apache.http.client:4.1.2'
|
||||||
|
compile 'com.android.support:multidex:1.0.2'
|
||||||
compile "com.android.support:support-v13:$supportLibVersion"
|
compile "com.android.support:support-v13:$supportLibVersion"
|
||||||
compile "com.android.support:appcompat-v7:$supportLibVersion"
|
compile "com.android.support:appcompat-v7:$supportLibVersion"
|
||||||
compile 'com.android.support:multidex:1.0.1'
|
|
||||||
compile "com.android.support:support-v4:$supportLibVersion"
|
compile "com.android.support:support-v4:$supportLibVersion"
|
||||||
compile "com.android.support:support-emoji:$supportLibVersion"
|
compile "com.android.support:support-emoji:$supportLibVersion"
|
||||||
compile "com.android.support:support-emoji-bundled:$supportLibVersion"
|
compile "com.android.support:support-emoji-bundled:$supportLibVersion"
|
||||||
|
@ -82,10 +82,6 @@ android {
|
||||||
buildToolsVersion "26.0.2"
|
buildToolsVersion "26.0.2"
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
jackOptions {
|
|
||||||
enabled true
|
|
||||||
}
|
|
||||||
|
|
||||||
minSdkVersion 16
|
minSdkVersion 16
|
||||||
targetSdkVersion 25
|
targetSdkVersion 25
|
||||||
|
|
||||||
|
@ -99,6 +95,8 @@ android {
|
||||||
buildConfigField("Integer[]", "XMPP_Ports", "{61000, 65000}")
|
buildConfigField("Integer[]", "XMPP_Ports", "{61000, 65000}")
|
||||||
buildConfigField("String", "DOMAIN_LOCK", '"pix-art.de"')
|
buildConfigField("String", "DOMAIN_LOCK", '"pix-art.de"')
|
||||||
buildConfigField("String", "UPDATE_URL", '"https://xmpp.pix-art.de/Pix-Art_Messenger/update/"')
|
buildConfigField("String", "UPDATE_URL", '"https://xmpp.pix-art.de/Pix-Art_Messenger/update/"')
|
||||||
|
|
||||||
|
dimension "distribution"
|
||||||
}
|
}
|
||||||
|
|
||||||
dexOptions {
|
dexOptions {
|
||||||
|
@ -113,6 +111,8 @@ android {
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
}
|
}
|
||||||
|
|
||||||
|
flavorDimensions("distribution")
|
||||||
|
|
||||||
productFlavors {
|
productFlavors {
|
||||||
standardPush
|
standardPush
|
||||||
standard
|
standard
|
||||||
|
@ -122,6 +122,8 @@ android {
|
||||||
buildConfigField("String", "DOMAIN_LOCK", "null")
|
buildConfigField("String", "DOMAIN_LOCK", "null")
|
||||||
buildConfigField("String", "UPDATE_URL", '"https://xmpp.pix-art.de/Pix-Art_Messenger/update/open/"')
|
buildConfigField("String", "UPDATE_URL", '"https://xmpp.pix-art.de/Pix-Art_Messenger/update/open/"')
|
||||||
applicationId "de.pixart.openmessenger"
|
applicationId "de.pixart.openmessenger"
|
||||||
|
|
||||||
|
dimension "distribution"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (project.hasProperty('mStoreFile') &&
|
if (project.hasProperty('mStoreFile') &&
|
||||||
|
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
|
@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-4.3.1-all.zip
|
||||||
|
|
|
@ -4,7 +4,7 @@ buildscript {
|
||||||
jcenter()
|
jcenter()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:2.3.3'
|
classpath 'com.android.tools.build:gradle:3.0.1'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,17 +2,13 @@ buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
jcenter()
|
jcenter()
|
||||||
}
|
}
|
||||||
dependencies {
|
|
||||||
classpath 'com.novoda:bintray-release:0.2.4'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'com.android.library'
|
apply plugin: 'com.android.library'
|
||||||
apply plugin: 'bintray-release'
|
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 26
|
compileSdkVersion 26
|
||||||
buildToolsVersion '26.0.1'
|
buildToolsVersion '26.0.2'
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 18
|
minSdkVersion 18
|
||||||
|
@ -22,19 +18,9 @@ android {
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
zipAlignEnabled true
|
zipAlignEnabled true
|
||||||
minifyEnabled false
|
minifyEnabled true
|
||||||
shrinkResources false
|
shrinkResources false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
publish {
|
|
||||||
groupId = 'net.ypresto.androidtranscoder'
|
|
||||||
artifactId = 'android-transcoder'
|
|
||||||
version = '0.2.0'
|
|
||||||
licences = ['Apache-2.0']
|
|
||||||
website = 'https://github.com/ypresto/android-transcoder'
|
|
||||||
autoPublish = false
|
|
||||||
dryRun = false
|
|
||||||
}
|
|
||||||
|
|
|
@ -16,41 +16,41 @@
|
||||||
<item name="TextSizeHeadline">18sp</item>
|
<item name="TextSizeHeadline">18sp</item>
|
||||||
<item name="TextSeparation">5sp</item>
|
<item name="TextSeparation">5sp</item>
|
||||||
|
|
||||||
<item name="attr/color_text_primary">@color/black87</item>
|
<item name="color_text_primary">@color/black87</item>
|
||||||
<item name="attr/color_text_secondary">@color/black54</item>
|
<item name="color_text_secondary">@color/black54</item>
|
||||||
|
|
||||||
<item name="attr/dialog_horizontal_padding">24dp</item>
|
<item name="dialog_horizontal_padding">24dp</item>
|
||||||
<item name="attr/dialog_vertical_padding">16dp</item>
|
<item name="dialog_vertical_padding">16dp</item>
|
||||||
|
|
||||||
<item name="attr/icon_add_group">@drawable/ic_group_add_white_24dp</item>
|
<item name="icon_add_group">@drawable/ic_group_add_white_24dp</item>
|
||||||
<item name="attr/icon_add_person">@drawable/ic_person_add_white_24dp</item>
|
<item name="icon_add_person">@drawable/ic_person_add_white_24dp</item>
|
||||||
<item name="attr/icon_cancel">@drawable/ic_cancel_white_24dp</item>
|
<item name="icon_cancel">@drawable/ic_cancel_white_24dp</item>
|
||||||
<item name="attr/icon_copy">@drawable/ic_content_copy_grey600_24dp</item>
|
<item name="icon_copy">@drawable/ic_content_copy_grey600_24dp</item>
|
||||||
<item name="attr/icon_discard">@drawable/ic_delete_white_24dp</item>
|
<item name="icon_discard">@drawable/ic_delete_white_24dp</item>
|
||||||
<item name="attr/icon_download">@drawable/ic_file_download_white_24dp</item>
|
<item name="icon_download">@drawable/ic_file_download_white_24dp</item>
|
||||||
<item name="attr/icon_edit">@drawable/ic_edit_white_24dp</item>
|
<item name="icon_edit">@drawable/ic_edit_white_24dp</item>
|
||||||
<item name="attr/icon_edit_dark">@drawable/ic_edit_grey600_24dp</item>
|
<item name="icon_edit_dark">@drawable/ic_edit_grey600_24dp</item>
|
||||||
<item name="attr/icon_done">@drawable/ic_done_black_24dp</item>
|
<item name="icon_done">@drawable/ic_done_black_24dp</item>
|
||||||
<item name="attr/icon_quote">@drawable/ic_reply_white_24dp</item>
|
<item name="icon_quote">@drawable/ic_reply_white_24dp</item>
|
||||||
<item name="attr/icon_group">@drawable/ic_group_white_24dp</item>
|
<item name="icon_group">@drawable/ic_group_white_24dp</item>
|
||||||
<item name="attr/icon_new">@drawable/ic_contacts_white_24dp</item>
|
<item name="icon_new">@drawable/ic_contacts_white_24dp</item>
|
||||||
<item name="attr/icon_refresh">@drawable/ic_refresh_grey600_24dp</item>
|
<item name="icon_refresh">@drawable/ic_refresh_grey600_24dp</item>
|
||||||
<item name="attr/icon_new_attachment">@drawable/ic_attach_file_white_24dp</item>
|
<item name="icon_new_attachment">@drawable/ic_attach_file_white_24dp</item>
|
||||||
<item name="attr/icon_not_secure">@drawable/ic_lock_open_white_24dp</item>
|
<item name="icon_not_secure">@drawable/ic_lock_open_white_24dp</item>
|
||||||
<item name="attr/icon_remove">@drawable/ic_delete_grey600_24dp</item>
|
<item name="icon_remove">@drawable/ic_delete_grey600_24dp</item>
|
||||||
<item name="attr/icon_search">@drawable/ic_search_white_24dp</item>
|
<item name="icon_search">@drawable/ic_search_white_24dp</item>
|
||||||
<item name="attr/icon_secure">@drawable/ic_lock_open_white_24dp</item>
|
<item name="icon_secure">@drawable/ic_lock_open_white_24dp</item>
|
||||||
<item name="attr/icon_settings">@drawable/ic_settings_grey600_24dp</item>
|
<item name="icon_settings">@drawable/ic_settings_grey600_24dp</item>
|
||||||
<item name="attr/icon_import_export">@drawable/ic_import_export_white_24dp</item>
|
<item name="icon_import_export">@drawable/ic_import_export_white_24dp</item>
|
||||||
<item name="attr/icon_share">@drawable/ic_share_white_24dp</item>
|
<item name="icon_share">@drawable/ic_share_white_24dp</item>
|
||||||
<item name="attr/icon_scan_qr_code">@drawable/ic_barcode_scan_white_24dp</item>
|
<item name="icon_scan_qr_code">@drawable/ic_barcode_scan_white_24dp</item>
|
||||||
|
|
||||||
<item name="attr/ic_attach_camera">@drawable/ic_attach_camera</item>
|
<item name="ic_attach_camera">@drawable/ic_attach_camera</item>
|
||||||
<item name="attr/ic_attach_document">@drawable/ic_attach_document</item>
|
<item name="ic_attach_document">@drawable/ic_attach_document</item>
|
||||||
<item name="attr/ic_attach_location">@drawable/ic_attach_location</item>
|
<item name="ic_attach_location">@drawable/ic_attach_location</item>
|
||||||
<item name="attr/ic_attach_photo">@drawable/ic_attach_photo</item>
|
<item name="ic_attach_photo">@drawable/ic_attach_photo</item>
|
||||||
<item name="attr/ic_attach_video">@drawable/ic_attach_video</item>
|
<item name="ic_attach_video">@drawable/ic_attach_video</item>
|
||||||
<item name="attr/ic_attach_record">@drawable/ic_attach_record</item>
|
<item name="ic_attach_record">@drawable/ic_attach_record</item>
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
|
@ -12,46 +12,46 @@
|
||||||
<item name="TextSizeHeadline">18sp</item>
|
<item name="TextSizeHeadline">18sp</item>
|
||||||
<item name="TextSeparation">5sp</item>
|
<item name="TextSeparation">5sp</item>
|
||||||
|
|
||||||
<item name="attr/color_text_primary">@color/black87</item>
|
<item name="color_text_primary">@color/black87</item>
|
||||||
<item name="attr/color_text_secondary">@color/black54</item>
|
<item name="color_text_secondary">@color/black54</item>
|
||||||
|
|
||||||
<item name="attr/icon_add_group">@drawable/ic_group_add_white_24dp</item>
|
<item name="icon_add_group">@drawable/ic_group_add_white_24dp</item>
|
||||||
<item name="attr/icon_add_person">@drawable/ic_person_add_white_24dp</item>
|
<item name="icon_add_person">@drawable/ic_person_add_white_24dp</item>
|
||||||
<item name="attr/icon_cancel">@drawable/ic_cancel_white_24dp</item>
|
<item name="icon_cancel">@drawable/ic_cancel_white_24dp</item>
|
||||||
<item name="attr/icon_chat">@drawable/ic_action_chat</item>
|
<item name="icon_chat">@drawable/ic_action_chat</item>
|
||||||
<item name="attr/icon_copy">@drawable/ic_content_copy_grey600_24dp</item>
|
<item name="icon_copy">@drawable/ic_content_copy_grey600_24dp</item>
|
||||||
<item name="attr/icon_discard">@drawable/ic_delete_white_24dp</item>
|
<item name="icon_discard">@drawable/ic_delete_white_24dp</item>
|
||||||
<item name="attr/icon_download">@drawable/ic_file_download_white_24dp</item>
|
<item name="icon_download">@drawable/ic_file_download_white_24dp</item>
|
||||||
<item name="attr/icon_edit">@drawable/ic_edit_white_24dp</item>
|
<item name="icon_edit">@drawable/ic_edit_white_24dp</item>
|
||||||
<item name="attr/icon_edit_dark">@drawable/ic_edit_grey600_24dp</item>
|
<item name="icon_edit_dark">@drawable/ic_edit_grey600_24dp</item>
|
||||||
<item name="attr/icon_done">@drawable/ic_done_black_24dp</item>
|
<item name="icon_done">@drawable/ic_done_black_24dp</item>
|
||||||
<item name="attr/icon_group">@drawable/ic_group_white_24dp</item>
|
<item name="icon_group">@drawable/ic_group_white_24dp</item>
|
||||||
<item name="attr/icon_new">@drawable/ic_contacts_white_24dp</item>
|
<item name="icon_new">@drawable/ic_contacts_white_24dp</item>
|
||||||
<item name="attr/icon_new_attachment">@drawable/ic_attach_file_white_24dp</item>
|
<item name="icon_new_attachment">@drawable/ic_attach_file_white_24dp</item>
|
||||||
<item name="attr/icon_not_secure">@drawable/ic_lock_open_white_24dp</item>
|
<item name="icon_not_secure">@drawable/ic_lock_open_white_24dp</item>
|
||||||
<item name="attr/icon_quote">@drawable/ic_reply_white_24dp</item>
|
<item name="icon_quote">@drawable/ic_reply_white_24dp</item>
|
||||||
<item name="attr/icon_refresh">@drawable/ic_refresh_grey600_24dp</item>
|
<item name="icon_refresh">@drawable/ic_refresh_grey600_24dp</item>
|
||||||
<item name="attr/icon_remove">@drawable/ic_delete_grey600_24dp</item>
|
<item name="icon_remove">@drawable/ic_delete_grey600_24dp</item>
|
||||||
<item name="attr/icon_search">@drawable/ic_search_white_24dp</item>
|
<item name="icon_search">@drawable/ic_search_white_24dp</item>
|
||||||
<item name="attr/icon_secure">@drawable/ic_lock_open_white_24dp</item>
|
<item name="icon_secure">@drawable/ic_lock_open_white_24dp</item>
|
||||||
<item name="attr/icon_settings">@drawable/ic_settings_grey600_24dp</item>
|
<item name="icon_settings">@drawable/ic_settings_grey600_24dp</item>
|
||||||
<item name="attr/icon_import_export">@drawable/ic_import_export_white_24dp</item>
|
<item name="icon_import_export">@drawable/ic_import_export_white_24dp</item>
|
||||||
<item name="attr/icon_share">@drawable/ic_share_white_24dp</item>
|
<item name="icon_share">@drawable/ic_share_white_24dp</item>
|
||||||
<item name="attr/icon_scan_qr_code">@drawable/ic_barcode_scan_white_24dp</item>
|
<item name="icon_scan_qr_code">@drawable/ic_barcode_scan_white_24dp</item>
|
||||||
<item name="attr/dialog_horizontal_padding">16dp</item>
|
<item name="dialog_horizontal_padding">16dp</item>
|
||||||
<item name="attr/dialog_vertical_padding">16dp</item>
|
<item name="dialog_vertical_padding">16dp</item>
|
||||||
|
|
||||||
<item name="attr/ic_attach_camera">@drawable/ic_attach_camera</item>
|
<item name="ic_attach_camera">@drawable/ic_attach_camera</item>
|
||||||
<item name="attr/ic_attach_document">@drawable/ic_attach_document</item>
|
<item name="ic_attach_document">@drawable/ic_attach_document</item>
|
||||||
<item name="attr/ic_attach_location">@drawable/ic_attach_location</item>
|
<item name="ic_attach_location">@drawable/ic_attach_location</item>
|
||||||
<item name="attr/ic_attach_photo">@drawable/ic_attach_photo</item>
|
<item name="ic_attach_photo">@drawable/ic_attach_photo</item>
|
||||||
<item name="attr/ic_attach_video">@drawable/ic_attach_video</item>
|
<item name="ic_attach_video">@drawable/ic_attach_video</item>
|
||||||
<item name="attr/ic_attach_record">@drawable/ic_attach_record</item>
|
<item name="ic_attach_record">@drawable/ic_attach_record</item>
|
||||||
|
|
||||||
<item name="attr/ic_file_apk">@drawable/ic_file_grey600_48dp</item>
|
<item name="ic_file_apk">@drawable/ic_file_grey600_48dp</item>
|
||||||
<item name="attr/ic_file_pdf">@drawable/ic_file_pdf_grey600_48dp</item>
|
<item name="ic_file_pdf">@drawable/ic_file_pdf_grey600_48dp</item>
|
||||||
<item name="attr/ic_file_vcard">@drawable/ic_account_card_details_grey600_48dp</item>
|
<item name="ic_file_vcard">@drawable/ic_account_card_details_grey600_48dp</item>
|
||||||
<item name="attr/ic_file_calendar">@drawable/ic_calendar_grey600_48dp</item>
|
<item name="ic_file_calendar">@drawable/ic_calendar_grey600_48dp</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="ConversationsTheme.LargerText" parent="ConversationsTheme">
|
<style name="ConversationsTheme.LargerText" parent="ConversationsTheme">
|
||||||
|
|
Reference in a new issue