Skip to content

Commit

Permalink
Project Moved from personal repo to uni repo
Browse files Browse the repository at this point in the history
Jordan Akinpelu (akinpelud) committed Jul 7, 2023
1 parent 1eaff0c commit 5b45043
Showing 130 changed files with 5,158 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Dissertation/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
*.iml
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.externalNativeBuild
.cxx
local.properties
3 changes: 3 additions & 0 deletions Dissertation/.idea/.gitignore

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

1 change: 1 addition & 0 deletions Dissertation/.idea/.name

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

6 changes: 6 additions & 0 deletions Dissertation/.idea/compiler.xml

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

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

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

20 changes: 20 additions & 0 deletions Dissertation/.idea/gradle.xml

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

42 changes: 42 additions & 0 deletions Dissertation/.idea/inspectionProfiles/Project_Default.xml

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

20 changes: 20 additions & 0 deletions Dissertation/.idea/misc.xml

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

6 changes: 6 additions & 0 deletions Dissertation/.idea/vcs.xml

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

1 change: 1 addition & 0 deletions Dissertation/app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
92 changes: 92 additions & 0 deletions Dissertation/app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'


}
apply plugin: 'kotlin-android'

android {
compileSdk 33

defaultConfig {
minSdk 28
targetSdk 33
versionCode 1
versionName "1.0"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
useSupportLibrary true
}
signingConfig signingConfigs.debug
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
buildFeatures {
compose true
//noinspection DataBindingWithoutKapt
dataBinding true
}
composeOptions {
kotlinCompilerExtensionVersion compose_version
}
packagingOptions {
resources {
excludes += '/META-INF/{AL2.0,LGPL2.1}'
}
}
namespace 'com.example.powerof10'
}

dependencies {

implementation 'androidx.core:core-ktx:1.10.0'
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4")
implementation "androidx.compose.ui:ui:$compose_version"
implementation "androidx.compose.material:material:$compose_version"
implementation 'com.google.android.material:material:1.8.0'
implementation('androidx.compose.material3:material3:1.1.0-rc01')
implementation('androidx.compose.material3:material3-window-size-class:1.1.0-rc01')
implementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.1'
implementation 'androidx.activity:activity-compose:1.7.1'
implementation "androidx.navigation:navigation-fragment-ktx:$navigationVersion"
implementation "androidx.navigation:navigation-ui-ktx:$navigationVersion"
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'com.google.code.gson:gson:2.10.1'
implementation 'androidx.databinding:databinding-runtime:8.0.0'
implementation 'androidx.navigation:navigation-compose:2.6.0-beta01'
implementation 'com.github.ivanisidrowu.ktrssreader:android:v2.1.2'
implementation('io.coil-kt:coil-compose:2.3.0')
implementation 'com.prof18.rssparser:rssparser:3.1.3'
implementation 'org.jsoup:jsoup:1.15.4'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version"
debugImplementation "androidx.compose.ui:ui-tooling:$compose_version"
implementation "androidx.core:core-ktx:1.10.0"
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
debugImplementation "androidx.compose.ui:ui-test-manifest:$compose_version"
implementation 'com.github.devscast:validable:1.2.0'
implementation "com.google.accompanist:accompanist-webview:0.30.1"
implementation 'com.github.ireward:compose-html:1.0.2'
implementation("com.himanshoe:charty:1.0.1")
implementation "com.patrykandpatrick.vico:compose:1.6.5"

}
21 changes: 21 additions & 0 deletions Dissertation/app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
Binary file added Dissertation/app/release/app-release.apk
Binary file not shown.
20 changes: 20 additions & 0 deletions Dissertation/app/release/output-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"version": 3,
"artifactType": {
"type": "APK",
"kind": "Directory"
},
"applicationId": "com.example.powerof10",
"variantName": "release",
"elements": [
{
"type": "SINGLE",
"filters": [],
"attributes": [],
"versionCode": 1,
"versionName": "1.0",
"outputFile": "app-release.apk"
}
],
"elementType": "File"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
package com.example.powerof10

import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.ext.junit.runners.AndroidJUnit4

import org.junit.Test
import org.junit.runner.RunWith

import org.junit.Assert.*

/**
* Instrumented test, which will execute on an Android device.
*
* See [testing documentation](http://d.android.com/tools/testing).
*/
@RunWith(AndroidJUnit4::class)
class ExampleInstrumentedTest {
@Test
fun useAppContext() {
// Context of the app under test.
val appContext = InstrumentationRegistry.getInstrumentation().targetContext
assertEquals("com.example.powerof10", appContext.packageName)
}
}
58 changes: 58 additions & 0 deletions Dissertation/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

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

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.PowerOf10">
<activity
android:name=".AnalysisTool"
android:exported="false"
android:label="@string/title_activity_analysis_tool"
android:theme="@style/Theme.PowerOf10" />

<activity
android:name=".RSSArticle"
android:exported="false"
android:label="@string/title_activity_rssarticle"
android:theme="@style/Theme.PowerOf10" />
<activity
android:name=".AthleteSearch"
android:exported="false"
android:label="@string/title_activity_athlete_search"
android:theme="@style/Theme.PowerOf10" />
<activity
android:name=".NavDrawer"
android:exported="false"
android:label="@string/title_activity_nav_drawer"
android:theme="@style/Theme.PowerOf10" />
<activity
android:name=".RankingPage"
android:exported="false"
android:label="@string/title_activity_ranking_page"
android:theme="@style/Theme.PowerOf10" />
<activity
android:name=".HomeRSS"
android:exported="false"
android:label="@string/title_activity_rssfeed"
android:theme="@style/Theme.PowerOf10" />

<activity
android:name=".MainActivity"
android:exported="true"
android:label="@string/app_name"
android:theme="@style/Theme.PowerOf10">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

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

</manifest>

Unable to render rich display

Invalid image source.

Loading

0 comments on commit 5b45043

Please sign in to comment.