Skip to content

Commit

Permalink
Merge pull request #14 from torusresearch/fix-rename-and-latest-tools
Browse files Browse the repository at this point in the history
Fix renamed issue, upgrade tooling to latest version
  • Loading branch information
phuctm97 authored Dec 1, 2021
2 parents 106050b + 56afbfb commit a900c6d
Show file tree
Hide file tree
Showing 107 changed files with 298 additions and 470 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@
/captures
.externalNativeBuild
.cxx
local.properties
3 changes: 3 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

116 changes: 0 additions & 116 deletions .idea/codeStyles/Project.xml

This file was deleted.

17 changes: 0 additions & 17 deletions .idea/deploymentTargetDropDown.xml

This file was deleted.

7 changes: 0 additions & 7 deletions .idea/dictionaries/apple.xml

This file was deleted.

14 changes: 0 additions & 14 deletions .idea/dictionaries/chai.xml

This file was deleted.

2 changes: 1 addition & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 0 additions & 35 deletions .idea/jarRepositories.xml

This file was deleted.

21 changes: 3 additions & 18 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
/build
/build
62 changes: 27 additions & 35 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,39 +1,23 @@
apply plugin: 'com.android.application'
plugins {
id 'com.android.application'
id 'kotlin-android'
}

android {
compileSdkVersion 31
compileSdk 31

defaultConfig {
applicationId 'org.torusresearch.customauthandroid'
minSdkVersion 21
targetSdkVersion 31
applicationId "org.torusresearch.customauth.app"
minSdk 21
targetSdk 31
versionCode 1
versionName "1.0"
multiDexEnabled true

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
manifestPlaceholders = [
'torusRedirectScheme': 'torusapp',
'torusRedirectHost': 'org.torusresearch.customauthandroid',
'torusRedirectScheme' : 'torusapp',
'torusRedirectHost' : 'org.torusresearch.customauthandroid',
'torusRedirectPathPrefix': '/redirect'
]
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/license.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/notice.txt'
exclude 'META-INF/ASL2.0'
exclude("META-INF/*.kotlin_module")
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

buildTypes {
Expand All @@ -42,19 +26,27 @@ android {
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
}

configurations {
all*.exclude module: 'bcprov-jdk15on'
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.4.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.2'
implementation project(':sdk')
implementation 'com.google.code.gson:gson:2.8.9'
testImplementation 'junit:junit:4.13.2'
implementation 'com.github.p2p-org:solanaj:1c1c335f5f'
implementation 'androidx.core:core-ktx:1.7.0'
implementation 'androidx.appcompat:appcompat:1.4.0'
implementation 'com.google.android.material:material:1.4.0'
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
implementation project(path: ':customauth')
implementation 'com.github.p2p-org:solanaj:1c1c335f5f'
}
}
2 changes: 1 addition & 1 deletion app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
#-renamesourcefileattribute SourceFile
Binary file removed app/release/app-release.aab
Binary file not shown.

This file was deleted.

Loading

0 comments on commit a900c6d

Please sign in to comment.