Skip to content
This repository was archived by the owner on Jan 10, 2025. It is now read-only.

Commit 2d17620

Browse files
committed
app -> bert
1 parent 02e24d8 commit 2d17620

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+6
-81
lines changed

app/src/main/java/co/huggingface/android_transformers/gpt2/ui/GPT2Activity.kt

Lines changed: 0 additions & 26 deletions
This file was deleted.

app/src/main/res/layout/activity_gpt2.xml

Lines changed: 0 additions & 33 deletions
This file was deleted.

app/build.gradle renamed to bert/build.gradle

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
apply plugin: 'com.android.application'
2-
apply plugin: 'kotlin-android-extensions'
3-
apply plugin: 'kotlin-android'
42

53
android {
64
compileSdkVersion 29
75
buildToolsVersion "29.0.2"
86
defaultConfig {
9-
applicationId "co.huggingface.android_transformers"
7+
applicationId "co.huggingface.android_transformers.bert"
108
minSdkVersion 26
119
targetSdkVersion 29
1210
versionCode 1
@@ -26,9 +24,6 @@ android {
2624
sourceCompatibility JavaVersion.VERSION_1_8
2725
targetCompatibility JavaVersion.VERSION_1_8
2826
}
29-
kotlinOptions {
30-
jvmTarget = JavaVersion.VERSION_1_8
31-
}
3227
// If you find lint problem like:
3328
// * What went wrong:
3429
// A problem was found with the configuration of task ':app:lint'.
@@ -66,15 +61,6 @@ dependencies {
6661
testImplementation 'org.robolectric:robolectric:4.3.1'
6762
androidTestImplementation 'androidx.test:runner:1.2.0'
6863
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
69-
70-
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
71-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.2'
72-
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.2'
73-
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.2.0-rc02'
74-
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0-rc02'
75-
// implementation 'androidx.activity:activity-ktx:1.1.0-rc02'
76-
// implementation 'androidx.core:core-ktx:1.2.0-rc01'
77-
// implementation 'androidx.fragment:fragment-ktx:1.2.0-rc02'
7864
}
7965

8066
repositories {
File renamed without changes.
File renamed without changes.

app/src/main/AndroidManifest.xml renamed to bert/src/main/AndroidManifest.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111
android:supportsRtl="true"
1212
android:theme="@style/AppTheme"
1313
tools:ignore="GoogleAppIndexingWarning">
14-
<activity
15-
android:name=".gpt2.ui.GPT2Activity"
16-
android:theme="@style/AppTheme.NoActionBar"></activity>
1714
<activity
1815
android:name=".bertqa.ui.QaActivity"
1916
android:exported="false">
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)