Skip to content

Commit

Permalink
add new lib kasechange
Browse files Browse the repository at this point in the history
  • Loading branch information
indramahkota committed Dec 22, 2021
1 parent 1364db1 commit e850412
Show file tree
Hide file tree
Showing 3 changed files with 307 additions and 0 deletions.
146 changes: 146 additions & 0 deletions .ipynb_checkpoints/String Manipulation-checkpoint.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 22,
"id": "97683150",
"metadata": {},
"outputs": [],
"source": [
"%use @kasechange.json"
]
},
{
"cell_type": "code",
"execution_count": 37,
"id": "64f0473c",
"metadata": {
"scrolled": true
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"kotlinGradlePluginVersion = \"\"\n",
"hiltAndroidGradlePluginVersion = \"\"\n",
"navigationSafeArgsGradlePluginVersion = \"\"\n",
"secretsGradlePluginVersion = \"\"\n"
]
}
],
"source": [
"val listOfSting = listOf(\n",
" \"kotlin-gradle-plugin-version\",\n",
" \"hilt-android-gradle-plugin-version\",\n",
" \"navigation-safe-args-gradle-plugin-version\",\n",
" \"secrets-gradle-plugin-version\"\n",
")\n",
"\n",
"listOfSting.forEach {\n",
" println(\"${it.toCamelCase()} = \\\"\\\"\")\n",
"}"
]
},
{
"cell_type": "code",
"execution_count": 38,
"id": "75295b0b",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"coreKtxVersion = \"\"\n",
"appCompatVersion = \"\"\n",
"materialVersion = \"\"\n",
"constrainTlayoutVersion = \"\"\n",
"junitVersion = \"\"\n",
"espressoCoreVersion = \"\"\n"
]
}
],
"source": [
"val listOfSting = listOf(\n",
" \"core-ktx-version\",\n",
" \"app-compat-version\",\n",
" \"material-version\",\n",
" \"constrain-tlayout-version\",\n",
" \"junit-version\",\n",
" \"espresso-core-version\",\n",
")\n",
"\n",
"listOfSting.forEach {\n",
" println(\"${it.toCamelCase()} = \\\"\\\"\")\n",
"}"
]
},
{
"cell_type": "code",
"execution_count": 49,
"id": "78bd9e8a",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"hiltAndroidVersion = \"\"\n",
"hiltAndroidCompilerVersion = \"\"\n",
"hiltAndroidTestingVersion = \"\"\n",
"hiltAndroidCompilerVersion = \"\"\n",
"legacySupportV4Version = \"\"\n",
"navigationTestingVersion = \"\"\n",
"hiltLifecycleViewmodelVersion = \"\"\n",
"hiltCompilerVersion = \"\"\n",
"kotlinxCoroutinesAndroidVersion = \"\"\n",
"roomVersion = \"\"\n",
"okHttpVersion = \"\"\n",
"retrofitVersion = \"\"\n",
"pagingRuntimeKtxVersion = \"\"\n"
]
}
],
"source": [
"val listOfSting = listOf(\n",
" \"hilt-android-version\",\n",
" \"hilt-android-compiler-version\",\n",
" \"hilt-android-testing-version\",\n",
" \"hilt-android-compiler-version\",\n",
" \"legacy-support-v4-version\",\n",
" \"navigation-testing-version\",\n",
" \"hilt-lifecycle-viewmodel-version\",\n",
" \"hilt-compiler-version\",\n",
" \"kotlinx-coroutines-android-version\",\n",
" \"room-version\",\n",
" \"ok-http-version\",\n",
" \"retrofit-version\",\n",
" \"paging-runtime-ktx-version\"\n",
")\n",
"\n",
"listOfSting.forEach {\n",
" println(\"${it.toCamelCase()} = \\\"\\\"\")\n",
"}"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Kotlin",
"language": "kotlin",
"name": "kotlin"
},
"language_info": {
"codemirror_mode": "text/x-kotlin",
"file_extension": ".kt",
"mimetype": "text/x-kotlin",
"name": "kotlin",
"nbconvert_exporter": "",
"pygments_lexer": "kotlin",
"version": "1.6.20-dev-6372"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
146 changes: 146 additions & 0 deletions String Manipulation.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 22,
"id": "97683150",
"metadata": {},
"outputs": [],
"source": [
"%use @kasechange.json"
]
},
{
"cell_type": "code",
"execution_count": 37,
"id": "64f0473c",
"metadata": {
"scrolled": true
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"kotlinGradlePluginVersion = \"\"\n",
"hiltAndroidGradlePluginVersion = \"\"\n",
"navigationSafeArgsGradlePluginVersion = \"\"\n",
"secretsGradlePluginVersion = \"\"\n"
]
}
],
"source": [
"val listOfSting = listOf(\n",
" \"kotlin-gradle-plugin-version\",\n",
" \"hilt-android-gradle-plugin-version\",\n",
" \"navigation-safe-args-gradle-plugin-version\",\n",
" \"secrets-gradle-plugin-version\"\n",
")\n",
"\n",
"listOfSting.forEach {\n",
" println(\"${it.toCamelCase()} = \\\"\\\"\")\n",
"}"
]
},
{
"cell_type": "code",
"execution_count": 38,
"id": "75295b0b",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"coreKtxVersion = \"\"\n",
"appCompatVersion = \"\"\n",
"materialVersion = \"\"\n",
"constrainTlayoutVersion = \"\"\n",
"junitVersion = \"\"\n",
"espressoCoreVersion = \"\"\n"
]
}
],
"source": [
"val listOfSting = listOf(\n",
" \"core-ktx-version\",\n",
" \"app-compat-version\",\n",
" \"material-version\",\n",
" \"constrain-tlayout-version\",\n",
" \"junit-version\",\n",
" \"espresso-core-version\",\n",
")\n",
"\n",
"listOfSting.forEach {\n",
" println(\"${it.toCamelCase()} = \\\"\\\"\")\n",
"}"
]
},
{
"cell_type": "code",
"execution_count": 49,
"id": "78bd9e8a",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"hiltAndroidVersion = \"\"\n",
"hiltAndroidCompilerVersion = \"\"\n",
"hiltAndroidTestingVersion = \"\"\n",
"hiltAndroidCompilerVersion = \"\"\n",
"legacySupportV4Version = \"\"\n",
"navigationTestingVersion = \"\"\n",
"hiltLifecycleViewmodelVersion = \"\"\n",
"hiltCompilerVersion = \"\"\n",
"kotlinxCoroutinesAndroidVersion = \"\"\n",
"roomVersion = \"\"\n",
"okHttpVersion = \"\"\n",
"retrofitVersion = \"\"\n",
"pagingRuntimeKtxVersion = \"\"\n"
]
}
],
"source": [
"val listOfSting = listOf(\n",
" \"hilt-android-version\",\n",
" \"hilt-android-compiler-version\",\n",
" \"hilt-android-testing-version\",\n",
" \"hilt-android-compiler-version\",\n",
" \"legacy-support-v4-version\",\n",
" \"navigation-testing-version\",\n",
" \"hilt-lifecycle-viewmodel-version\",\n",
" \"hilt-compiler-version\",\n",
" \"kotlinx-coroutines-android-version\",\n",
" \"room-version\",\n",
" \"ok-http-version\",\n",
" \"retrofit-version\",\n",
" \"paging-runtime-ktx-version\"\n",
")\n",
"\n",
"listOfSting.forEach {\n",
" println(\"${it.toCamelCase()} = \\\"\\\"\")\n",
"}"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Kotlin",
"language": "kotlin",
"name": "kotlin"
},
"language_info": {
"codemirror_mode": "text/x-kotlin",
"file_extension": ".kt",
"mimetype": "text/x-kotlin",
"name": "kotlin",
"nbconvert_exporter": "",
"pygments_lexer": "kotlin",
"version": "1.6.20-dev-6372"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
15 changes: 15 additions & 0 deletions kasechange.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"description": "Multiplatform Kotlin library to convert strings",
"properties": {
"v": "1.3.0"
},
"link": "https://github.com/pearxteam/kasechange",
"dependencies": [
"net.pearx.kasechange:kasechange-jvm:$v"
],
"imports": [
"net.pearx.kasechange.*",
"net.pearx.kasechange.formatter.*",
"net.pearx.kasechange.splitter.*"
]
}

0 comments on commit e850412

Please sign in to comment.