Skip to content

Commit

Permalink
[Fix] Undoing the migration to Kotlin DSL
Browse files Browse the repository at this point in the history
  • Loading branch information
jeluchu committed Jul 4, 2022
1 parent d79dff8 commit bb657a8
Show file tree
Hide file tree
Showing 1,128 changed files with 7,859 additions and 18,214 deletions.
73 changes: 73 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
/*
*
* Copyright 2022 Jeluchu
*
*/

plugins {
id 'com.android.application'
id 'kotlin-android'
}

android {

compileSdk 32

defaultConfig {
applicationId "com.jeluchu.composer"
minSdk 22
targetSdk 32
versionCode 1
versionName "1.0"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}

buildFeatures {
compose = true
}

composeOptions {
kotlinCompilerExtensionVersion = "1.2.0"
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}

namespace 'com.jeluchu.composer'

}

dependencies {

implementation project(':jchucomponents')
implementation 'androidx.appcompat:appcompat:1.4.2'
implementation 'com.google.android.material:material:1.6.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'

// JETPACK COMPOSE -----------------------------------------------------------------------------
implementation 'androidx.compose.ui:ui:1.1.1'
implementation 'androidx.compose.material:material:1.1.1'
implementation 'androidx.compose.ui:ui-tooling-preview:1.1.1'
debugImplementation 'androidx.compose.ui:ui-tooling:1.1.1'
implementation 'androidx.activity:activity-compose:1.5.0'
implementation 'androidx.compose.material:material-icons-extended:1.1.1'
implementation 'androidx.compose.foundation:foundation:1.1.1'
implementation 'androidx.compose.foundation:foundation-layout:1.1.1'
implementation 'androidx.compose.animation:animation:1.1.1'
implementation 'androidx.compose.runtime:runtime:1.1.1'
implementation 'androidx.compose.runtime:runtime-livedata:1.1.1'
implementation 'androidx.constraintlayout:constraintlayout-compose:1.0.1'
implementation 'androidx.navigation:navigation-compose:2.5.0'
implementation 'androidx.activity:activity-compose:1.5.0'

}
65 changes: 0 additions & 65 deletions app/build.gradle.kts

This file was deleted.

30 changes: 30 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/*
*
* Copyright 2022 Jeluchu
*
*/

buildscript {

repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.7.0"
}
}

allprojects {
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
}

task clean(type: Delete) {
delete rootProject.buildDir
}
33 changes: 0 additions & 33 deletions build.gradle.kts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@
<div id="sideMenu"></div>
</div>
<div id="main">
<div class="main-content" id="content" pageIds="JchuComponents::com.jeluchu.jchucomponents.core.exception/Failure.CustomError/CustomError/#kotlin.Int#kotlin.String/PointingToDeclaration//-1869088605">
<div class="main-content" id="content" pageIds="JchuComponents::com.jeluchu.jchucomponents.core.exception/Failure.CustomError/CustomError/#kotlin.Int#kotlin.String/PointingToDeclaration//-122051826">
<div class="breadcrumbs"><a href="../../../../index.html">JchuComponents</a><span class="delimiter">/</span><a href="../../index.html">com.jeluchu.jchucomponents.core.exception</a><span class="delimiter">/</span><a href="../index.html">Failure</a><span class="delimiter">/</span><a href="index.html">CustomError</a><span class="delimiter">/</span><a href="-custom-error.html">CustomError</a></div>
<div class="cover ">
<h1 class="cover"><span>Custom</span><wbr></wbr><span><span>Error</span></span></h1>
</div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":jchucomponents:dokkaHtml/main"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="-custom-error.html"><span class="token function">CustomError</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">errorCode<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span></span><span class="parameter ">errorMessage<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></span></span><span class="token punctuation">)</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":jchucomponents:dokkaHtml/release"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="-custom-error.html"><span class="token function">CustomError</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">errorCode<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span></span><span class="parameter ">errorMessage<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></span></span><span class="token punctuation">)</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<div class="footer">
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>Made with ❤️ at <b><a href="https://about.jeluchu.com">Jéluchu</a></b> © 2022</span><span
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@
<div id="sideMenu"></div>
</div>
<div id="main">
<div class="main-content" id="content" pageIds="JchuComponents::com.jeluchu.jchucomponents.core.exception/Failure.CustomError/errorCode/#/PointingToDeclaration//-1869088605">
<div class="main-content" id="content" pageIds="JchuComponents::com.jeluchu.jchucomponents.core.exception/Failure.CustomError/errorCode/#/PointingToDeclaration//-122051826">
<div class="breadcrumbs"><a href="../../../../index.html">JchuComponents</a><span class="delimiter">/</span><a href="../../index.html">com.jeluchu.jchucomponents.core.exception</a><span class="delimiter">/</span><a href="../index.html">Failure</a><span class="delimiter">/</span><a href="index.html">CustomError</a><span class="delimiter">/</span><a href="error-code.html">errorCode</a></div>
<div class="cover ">
<h1 class="cover"><span>error</span><wbr></wbr><span><span>Code</span></span></h1>
</div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":jchucomponents:dokkaHtml/main"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">val </span><a href="error-code.html">errorCode</a><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":jchucomponents:dokkaHtml/release"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">val </span><a href="error-code.html">errorCode</a><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<div class="footer">
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>Made with ❤️ at <b><a href="https://about.jeluchu.com">Jéluchu</a></b> © 2022</span><span
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@
<div id="sideMenu"></div>
</div>
<div id="main">
<div class="main-content" id="content" pageIds="JchuComponents::com.jeluchu.jchucomponents.core.exception/Failure.CustomError/errorMessage/#/PointingToDeclaration//-1869088605">
<div class="main-content" id="content" pageIds="JchuComponents::com.jeluchu.jchucomponents.core.exception/Failure.CustomError/errorMessage/#/PointingToDeclaration//-122051826">
<div class="breadcrumbs"><a href="../../../../index.html">JchuComponents</a><span class="delimiter">/</span><a href="../../index.html">com.jeluchu.jchucomponents.core.exception</a><span class="delimiter">/</span><a href="../index.html">Failure</a><span class="delimiter">/</span><a href="index.html">CustomError</a><span class="delimiter">/</span><a href="error-message.html">errorMessage</a></div>
<div class="cover ">
<h1 class="cover"><span>error</span><wbr></wbr><span><span>Message</span></span></h1>
</div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":jchucomponents:dokkaHtml/main"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">val </span><a href="error-message.html">errorMessage</a><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":jchucomponents:dokkaHtml/release"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">val </span><a href="error-message.html">errorMessage</a><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<div class="footer">
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>Made with ❤️ at <b><a href="https://about.jeluchu.com">Jéluchu</a></b> © 2022</span><span
Expand Down
Loading

0 comments on commit bb657a8

Please sign in to comment.