Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove of apk installation logic to avoid complaints from Google Play during store submission #11

Closed
wants to merge 15 commits into from
Next Next commit
update to the latest gradle version and build tools
  • Loading branch information
VLADISLAV NIKOLAEV committed May 9, 2024
commit 3f8fdf98bf90e23eb8612d759aadc52bcb529e27
10 changes: 7 additions & 3 deletions TurkcellUpdaterSampleApp/build.gradle
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
google()
mavenLocal()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.android.tools.build:gradle:8.4.0'
}
}

allprojects {
repositories {
jcenter()
google()
mavenLocal()
mavenCentral()
}
}
3 changes: 3 additions & 0 deletions TurkcellUpdaterSampleApp/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
#Wed Jun 03 09:45:52 EEST 2015
android.defaults.buildfeatures.buildconfig=true
android.nonFinalResIds=false
android.nonTransitiveRClass=false
systemProp.http.proxyHost=127.0.0.1
systemProp.http.proxyPort=3128
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Wed Apr 10 15:27:10 PDT 2013
#Thu May 09 19:36:05 MSK 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
8 changes: 4 additions & 4 deletions TurkcellUpdaterSampleApp/turkcellUpdater/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
apply plugin: 'com.android.library'

android {
compileSdkVersion 25
buildToolsVersion "25.0.0"
compileSdk 34

defaultConfig {
minSdkVersion 9
targetSdkVersion 25
minSdkVersion 14
targetSdkVersion 34
useLibrary 'org.apache.http.legacy'
}

Expand All @@ -16,4 +15,5 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
}
}
namespace 'tr.com.turkcellteknoloji.turkcellupdater'
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="tr.com.turkcellteknoloji.turkcellupdater"
android:versionCode="5"
android:versionName="1.2.4" >

<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17" />
<uses-permission android:name="android.permission.INTERNET" />

</manifest>
12 changes: 6 additions & 6 deletions TurkcellUpdaterSampleApp/turkcellUpdaterSampleApp/build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 25
buildToolsVersion "25.0.0"
compileSdk 34

defaultConfig {
applicationId "tr.com.turkcellteknoloji.turkcellupdatersampleapp"
minSdkVersion 9
targetSdkVersion 25
minSdkVersion 14
targetSdkVersion 34
}

buildTypes {
Expand All @@ -16,9 +15,10 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
namespace 'tr.com.turkcellteknoloji.turkcellupdatersampleapp'
}

dependencies {
compile project(':turkcellUpdater')
compile 'com.android.support:support-v4:25.0.0'
implementation project(':turkcellUpdater')
implementation 'com.android.support:support-v4:28.0.0'
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include ':turkcellUpdater'
Original file line number Diff line number Diff line change
@@ -1,34 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="tr.com.turkcellteknoloji.turkcellupdatersampleapp"
android:versionCode="1"
android:versionName="1.1.0" >

<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="18" />
android:versionName="1.1.0">

<uses-permission android:name="android.permission.INTERNET" />

<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
android:theme="@style/AppTheme">

<uses-library android:name="org.apache.http.legacy" android:required="false"/>

<activity
android:name="tr.com.turkcellteknoloji.turkcellupdatersampleapp.SplashActivity"
android:label="@string/app_name" >
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

<activity
android:name="tr.com.turkcellteknoloji.turkcellupdatersampleapp.LoginActivity"
android:label="@string/title_activity_login"
android:windowSoftInputMode="adjustResize|stateVisible" >
</activity>
android:windowSoftInputMode="adjustResize|stateVisible" />
</application>

</manifest>