-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
disabled favorite feature below 23 version
- Loading branch information
1 parent
b479ac2
commit bd57caf
Showing
17 changed files
with
394 additions
and
22 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
|
@@ -16,6 +16,7 @@ buildscript { | |
classpath libs.gradleVersionsPlugin | ||
classpath libs.gradleLicensePlugin | ||
|
||
|
||
} | ||
} | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
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 |
---|---|---|
@@ -0,0 +1,107 @@ | ||
plugins { | ||
id 'com.android.library' | ||
id 'org.jetbrains.kotlin.android' | ||
} | ||
|
||
android { | ||
namespace 'com.alfresco.content.process' | ||
compileSdk 33 | ||
|
||
defaultConfig { | ||
minSdk 26 | ||
targetSdk 33 | ||
vectorDrawables { | ||
useSupportLibrary true | ||
} | ||
} | ||
|
||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
} | ||
} | ||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_17 | ||
targetCompatibility JavaVersion.VERSION_17 | ||
} | ||
kotlinOptions { | ||
jvmTarget = '17' | ||
} | ||
|
||
buildFeatures { | ||
compose = true | ||
} | ||
|
||
composeOptions { | ||
kotlinCompilerExtensionVersion = "1.5.4" | ||
} | ||
packagingOptions { | ||
resources { | ||
excludes += '/META-INF/{AL2.0,LGPL2.1}' | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
|
||
implementation 'androidx.core:core-ktx:1.8.0' | ||
implementation 'androidx.appcompat:appcompat:1.6.1' | ||
implementation libs.androidx.lifecycle.runtime | ||
implementation libs.activity.compose | ||
implementation platform(libs.compose.bom) | ||
implementation libs.ui | ||
implementation libs.ui.graphics | ||
implementation libs.ui.tooling.preview | ||
implementation libs.material3 | ||
androidTestImplementation platform(libs.compose.bom) | ||
androidTestImplementation libs.ui.test.junit4 | ||
debugImplementation libs.ui.tooling | ||
debugImplementation libs.ui.test.manifest | ||
|
||
dependencies { | ||
|
||
// val composeBom = platform("androidx.compose:compose-bom:2023.10.01") | ||
implementation(platform("androidx.compose:compose-bom:2023.10.01")) | ||
androidTestImplementation(platform("androidx.compose:compose-bom:2023.10.01")) | ||
|
||
// Choose one of the following: | ||
// Material Design 3 | ||
implementation("androidx.compose.material3:material3") | ||
// or Material Design 2 | ||
implementation("androidx.compose.material:material") | ||
// or skip Material Design and build directly on top of foundational components | ||
implementation("androidx.compose.foundation:foundation") | ||
// or only import the main APIs for the underlying toolkit systems, | ||
// such as input and measurement/layout | ||
implementation("androidx.compose.ui:ui") | ||
|
||
// Android Studio Preview support | ||
implementation("androidx.compose.ui:ui-tooling-preview") | ||
debugImplementation("androidx.compose.ui:ui-tooling") | ||
|
||
// UI Tests | ||
androidTestImplementation("androidx.compose.ui:ui-test-junit4") | ||
debugImplementation("androidx.compose.ui:ui-test-manifest") | ||
|
||
// Optional - Included automatically by material, only add when you need | ||
// the icons but not the material library (e.g. when using Material3 or a | ||
// custom design system based on Foundation) | ||
implementation("androidx.compose.material:material-icons-core") | ||
// Optional - Add full set of material icons | ||
implementation("androidx.compose.material:material-icons-extended") | ||
// Optional - Add window size utils | ||
implementation("androidx.compose.material3:material3-window-size-class") | ||
|
||
// Optional - Integration with activities | ||
implementation("androidx.activity:activity-compose:1.8.1") | ||
// Optional - Integration with ViewModels | ||
implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.6.2") | ||
// Optional - Integration with LiveData | ||
implementation("androidx.compose.runtime:runtime-livedata") | ||
// Optional - Integration with RxJava | ||
implementation("androidx.compose.runtime:runtime-rxjava2") | ||
|
||
} | ||
|
||
|
||
} |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> | ||
|
||
<application> | ||
<activity | ||
android:name=".ProcessFormActivity" | ||
android:exported="false" | ||
android:label="@string/title_activity_process_form" | ||
android:theme="@style/Theme.Alfrescomobileworkspaceandroid" /> | ||
</application> | ||
|
||
</manifest> |
Oops, something went wrong.