-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from argyle-systems/update-gradle-kotlin-depend…
…encies Update Gradle, Kotlin, and dependencies to latest versions
- Loading branch information
Showing
9 changed files
with
71 additions
and
62 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,48 @@ | ||
apply plugin: 'com.android.application' | ||
|
||
apply plugin: 'kotlin-android' | ||
plugins { | ||
id 'com.android.application' | ||
id 'kotlin-android' | ||
id 'kotlin-kapt' | ||
} | ||
|
||
apply plugin: 'kotlin-android-extensions' | ||
apply plugin: 'kotlin-kapt' | ||
android { | ||
compileSdkVersion 29 | ||
compileSdkVersion 31 | ||
|
||
defaultConfig { | ||
applicationId "com.argyleexample" | ||
minSdkVersion 23 | ||
targetSdkVersion 29 | ||
targetSdkVersion 31 | ||
versionCode 1 | ||
versionName "1.0" | ||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | ||
} | ||
|
||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' | ||
} | ||
} | ||
|
||
kotlinOptions { | ||
jvmTarget = "11" | ||
} | ||
|
||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_8 | ||
targetCompatibility JavaVersion.VERSION_1_8 | ||
sourceCompatibility JavaVersion.VERSION_11 | ||
targetCompatibility JavaVersion.VERSION_11 | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar']) | ||
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" | ||
implementation 'androidx.appcompat:appcompat:1.3.0' | ||
implementation 'androidx.core:core-ktx:1.0.2' | ||
implementation 'androidx.constraintlayout:constraintlayout:2.0.4' | ||
implementation "androidx.preference:preference-ktx:1.1.0" | ||
implementation 'androidx.appcompat:appcompat:1.4.1' | ||
implementation 'androidx.core:core-ktx:1.7.0' | ||
implementation 'androidx.constraintlayout:constraintlayout:2.1.3' | ||
implementation "androidx.preference:preference-ktx:1.2.0" | ||
|
||
implementation 'androidx.navigation:navigation-fragment-ktx:2.3.1' | ||
implementation 'androidx.navigation:navigation-ui-ktx:2.3.1' | ||
implementation 'androidx.navigation:navigation-fragment-ktx:2.4.2' | ||
implementation 'androidx.navigation:navigation-ui-ktx:2.4.2' | ||
|
||
implementation 'com.argyle:argyle-plugin-android-source:4.1.1' | ||
|
||
} | ||
|
||
repositories { | ||
maven { | ||
url 'https://ci.android.com/builds/submitted/6052626/androidx_snapshot/latest/repository/' | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,36 @@ | ||
// Top-level build file where you can add configuration options common to all sub-projects/modules. | ||
|
||
buildscript { | ||
ext{ | ||
kotlin_version = '1.5.20' | ||
ext { | ||
kotlin_version = '1.6.21' | ||
version_lifecycle_extensions = "2.0.0" | ||
RETROFIT_VERSION = '2.4.0' | ||
GLIDE_VERSION = '4.9.0' | ||
} | ||
|
||
repositories { | ||
google() | ||
jcenter() | ||
|
||
gradlePluginPortal() | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
classpath 'com.android.tools.build:gradle:3.4.2' | ||
classpath "com.android.tools.build:gradle:7.1.3" | ||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | ||
// NOTE: Do not place your application dependencies here; they belong | ||
// in the individual module build.gradle files | ||
} | ||
} | ||
|
||
task clean(type: Delete) { | ||
delete rootProject.buildDir | ||
} | ||
|
||
allprojects { | ||
repositories { | ||
google() | ||
jcenter() | ||
gradlePluginPortal() | ||
mavenCentral() | ||
maven { url 'https://jitpack.io' } | ||
} | ||
} | ||
|
||
task clean(type: Delete) { | ||
delete rootProject.buildDir | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
#Sun Jul 04 23:14:55 EEST 2021 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
android.databinding.enableV2=true | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https://services.gradle.org/distributions/gradle-6.5.1-bin.zip |