2019-06-03 23:25:05 +02:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
2020-09-26 15:55:30 +02:00
|
|
|
compileSdkVersion 30
|
2019-06-03 23:25:05 +02:00
|
|
|
defaultConfig {
|
|
|
|
applicationId "org.mian.gitnex"
|
|
|
|
minSdkVersion 21
|
2020-09-26 15:55:30 +02:00
|
|
|
targetSdkVersion 30
|
2020-09-30 21:08:48 +02:00
|
|
|
versionCode 320
|
|
|
|
versionName "3.2.0"
|
2020-09-26 17:05:51 +02:00
|
|
|
multiDexEnabled true
|
2019-06-03 23:25:05 +02:00
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
2020-09-26 17:05:51 +02:00
|
|
|
dexOptions {
|
|
|
|
javaMaxHeapSize "4g"
|
|
|
|
}
|
|
|
|
flavorDimensions "default"
|
|
|
|
productFlavors {
|
|
|
|
free {
|
|
|
|
applicationId "org.mian.gitnex"
|
|
|
|
}
|
|
|
|
pro {
|
|
|
|
applicationId "org.mian.gitnex.pro"
|
|
|
|
}
|
|
|
|
}
|
2020-07-09 08:55:05 +02:00
|
|
|
buildFeatures {
|
|
|
|
viewBinding = true
|
2020-05-22 00:49:09 +02:00
|
|
|
}
|
2019-06-03 23:25:05 +02:00
|
|
|
buildTypes {
|
|
|
|
release {
|
2020-04-17 12:10:32 +02:00
|
|
|
minifyEnabled false
|
|
|
|
shrinkResources false
|
2019-06-03 23:25:05 +02:00
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
lintOptions {
|
|
|
|
//checkReleaseBuilds false
|
|
|
|
abortOnError false
|
|
|
|
}
|
2020-03-16 10:25:15 +01:00
|
|
|
compileOptions {
|
|
|
|
targetCompatibility = "8"
|
|
|
|
sourceCompatibility = "8"
|
|
|
|
}
|
2020-08-20 18:21:55 +02:00
|
|
|
defaultConfig{
|
|
|
|
vectorDrawables.useSupportLibrary = true
|
|
|
|
}
|
2020-03-16 10:25:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
configurations {
|
|
|
|
cleanedAnnotations
|
2020-04-14 22:55:04 +02:00
|
|
|
compile.exclude group: 'org.jetbrains', module: 'annotations'
|
2019-06-03 23:25:05 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2020-09-04 16:33:59 +02:00
|
|
|
def lifecycle_version = '2.3.0-alpha07'
|
2020-09-26 15:55:30 +02:00
|
|
|
def markwon_version = '4.6.0'
|
2020-07-23 19:35:46 +02:00
|
|
|
def work_version = "2.4.0"
|
2020-04-18 01:39:49 +02:00
|
|
|
def acra = "5.5.0"
|
2019-06-03 23:25:05 +02:00
|
|
|
|
|
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
2020-09-04 16:33:59 +02:00
|
|
|
implementation 'androidx.appcompat:appcompat:1.3.0-alpha02'
|
2020-08-04 22:50:04 +02:00
|
|
|
implementation "com.google.android.material:material:1.3.0-alpha02"
|
2020-09-04 16:33:59 +02:00
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.0.1'
|
2019-10-30 15:04:49 +01:00
|
|
|
implementation "androidx.legacy:legacy-support-v4:1.0.0"
|
2020-06-30 20:59:11 +02:00
|
|
|
implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
|
2020-03-27 19:59:24 +01:00
|
|
|
testImplementation "junit:junit:4.13"
|
2020-09-04 16:33:59 +02:00
|
|
|
androidTestImplementation 'androidx.test:runner:1.3.0'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
|
2019-10-30 15:04:49 +01:00
|
|
|
implementation "com.github.vihtarb:tooltip:0.2.0"
|
2020-09-26 15:55:30 +02:00
|
|
|
implementation 'com.squareup.okhttp3:okhttp:4.9.0'
|
2020-03-16 10:25:15 +01:00
|
|
|
implementation "com.google.code.gson:gson:2.8.6"
|
2019-10-30 15:04:49 +01:00
|
|
|
implementation "com.squareup.picasso:picasso:2.71828"
|
|
|
|
implementation "com.amulyakhare:com.amulyakhare.textdrawable:1.0.1"
|
2020-06-30 20:59:11 +02:00
|
|
|
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
|
|
|
|
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
|
|
|
|
implementation 'com.squareup.retrofit2:converter-scalars:2.9.0'
|
2020-09-26 15:55:30 +02:00
|
|
|
implementation 'com.squareup.okhttp3:logging-interceptor:4.9.0'
|
2020-05-22 00:49:09 +02:00
|
|
|
implementation 'org.ocpsoft.prettytime:prettytime:4.0.5.Final'
|
2020-03-16 10:25:15 +01:00
|
|
|
implementation "com.vdurmont:emoji-java:5.1.1"
|
2019-06-03 23:25:05 +02:00
|
|
|
implementation "com.pes.materialcolorpicker:library:1.2.5"
|
2019-09-29 18:44:42 +02:00
|
|
|
implementation "io.noties.markwon:core:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:ext-latex:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:ext-strikethrough:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:ext-tables:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:ext-tasklist:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:html:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:image:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:image-picasso:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:linkify:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:recycler:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:recycler-table:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:simple-ext:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:syntax-highlight:$markwon_version"
|
|
|
|
implementation "com.caverock:androidsvg:1.4"
|
2019-10-30 15:04:49 +01:00
|
|
|
implementation "pl.droidsonroids.gif:android-gif-drawable:1.2.19"
|
2019-06-03 23:25:05 +02:00
|
|
|
implementation "com.hendraanggrian.appcompat:socialview:0.2"
|
|
|
|
implementation "com.hendraanggrian.appcompat:socialview-commons:0.2"
|
2019-10-17 19:47:27 +02:00
|
|
|
implementation "com.github.HamidrezaAmz:BreadcrumbsView:0.2.9"
|
2020-03-16 10:25:15 +01:00
|
|
|
implementation "commons-io:commons-io:20030203.000550"
|
2020-08-04 22:50:04 +02:00
|
|
|
implementation 'org.apache.commons:commons-lang3:3.11'
|
2019-10-30 15:04:49 +01:00
|
|
|
implementation "com.github.chrisbanes:PhotoView:2.3.0"
|
2020-01-30 19:00:31 +01:00
|
|
|
implementation "com.github.barteksc:android-pdf-viewer:3.2.0-beta.1"
|
2020-04-18 01:39:49 +02:00
|
|
|
implementation "ch.acra:acra-mail:$acra"
|
|
|
|
implementation "ch.acra:acra-limiter:$acra"
|
|
|
|
implementation "ch.acra:acra-notification:$acra"
|
Implement drafts, introduce Room persistence library for db (#139)
Fix no draft message
translation updates
format improvements
typo update
some renaming refactors
Use better naming convention
remove duplicate source
arrange draft titles
enhance click listener area
Launch drafts from reply screen and clean up
Add message draft saved
update repositories tasks
Update user accounts repository with thread, remove async tasks
remove async task in drafts
update layout, change async to thread in drafts
Merge branch 'master' into pull_139
# Conflicts:
# app/build.gradle
# app/src/main/java/org/mian/gitnex/activities/LoginActivity.java
Merge branch 'master' into pull_139
# Conflicts:
# app/src/main/java/org/mian/gitnex/activities/ReplyToIssueActivity.java
Merge branch 'pull_139' of codeberg.org:gitnex/GitNex into pull_139
# Conflicts:
# app/src/main/java/org/mian/gitnex/adapters/MyReposListAdapter.java
Merge branch 'master' into pull_139
# Conflicts:
# app/src/main/java/org/mian/gitnex/activities/LoginActivity.java
# app/src/main/java/org/mian/gitnex/activities/ReplyToIssueActivity.java
# app/src/main/java/org/mian/gitnex/adapters/MyReposListAdapter.java
Merge branch 'master' into pull_139
Merge branch 'master' into pull_139
Merge branch 'master' into pull_139 and fix conflicts
# Conflicts:
# app/build.gradle
# app/src/main/java/org/mian/gitnex/activities/LoginActivity.java
# app/src/main/java/org/mian/gitnex/activities/MainActivity.java
# app/src/main/java/org/mian/gitnex/activities/ReplyToIssueActivity.java
# app/src/main/java/org/mian/gitnex/adapters/MyReposListAdapter.java
# app/src/main/java/org/mian/gitnex/helpers/StaticGlobalVariables.java
# app/src/main/res/values/strings.xml
Code Format
Merge branch 'master' into 15-comments-draft
Merge branch 'master' into 15-comments-draft
Merge branch 'master' into 15-comments-draft
# Conflicts:
# app/src/main/java/org/mian/gitnex/activities/MainActivity.java
# app/src/main/res/values/strings.xml
Go to draft, save on type and other fixes
delete all drafts, added messages where needed
delete draft
Force logout
Merge branch 'master' into 15-comments-draft
Merge branch 'master' into 15-comments-draft
# Conflicts:
# app/src/main/java/org/mian/gitnex/activities/MainActivity.java
# app/src/main/java/org/mian/gitnex/helpers/StaticGlobalVariables.java
check if account data is null, we need to log the user out for the 1st time.
Merge branch 'master' into 15-comments-draft
fix repo owner, name sequence
Add comments for test, show drafts list
Add repos to db
Add account to db and other refactors to the code
Merge branch 'master' into 15-comments-draft
Merge branch 'master' into 15-comments-draft
Merge branch 'master' into 15-comments-draft
Merge branch 'master' into 15-comments-draft
# Conflicts:
# app/build.gradle
# app/src/main/AndroidManifest.xml
Merge branch 'master' into 15-comments-draft
merge
more queries, added dao repositories, layout update
Added queries in dao
some refactor. added models, dao, entities (accounts, repositories, drafts)
WIP on implementing drafts, introduced Room persistence library for db.
Co-authored-by: M M Arif <mmarif@swatian.com>
Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/139
Reviewed-by: opyale <opyale@noreply.codeberg.org>
2020-07-04 22:51:55 +02:00
|
|
|
implementation "androidx.room:room-runtime:2.2.5"
|
|
|
|
annotationProcessor "androidx.room:room-compiler:2.2.5"
|
2020-07-22 21:32:42 +02:00
|
|
|
implementation "androidx.work:work-runtime:$work_version"
|
2020-06-30 16:43:27 +02:00
|
|
|
implementation "com.eightbitlab:blurview:1.6.3"
|
|
|
|
implementation "io.mikael:urlbuilder:2.0.9"
|
2020-07-22 21:32:42 +02:00
|
|
|
|
2019-06-03 23:25:05 +02:00
|
|
|
}
|