-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,22 @@ | ||
group = "com.jamshedalamqaderi.portfolio" | ||
version = "1.0-SNAPSHOT" | ||
plugins { | ||
kotlin("multiplatform") apply false | ||
kotlin("plugin.serialization") apply false | ||
id("org.jetbrains.compose") apply false | ||
id("org.jlleitschuh.gradle.ktlint") apply false | ||
id("com.codingfeline.buildkonfig") apply false | ||
} | ||
|
||
allprojects { | ||
apply(plugin = "org.jlleitschuh.gradle.ktlint") | ||
|
||
repositories { | ||
google() | ||
mavenCentral() | ||
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev") | ||
maven("https://maven.pkg.jetbrains.space/kotlin/p/wasm/experimental") | ||
} | ||
|
||
configurations.all { | ||
val conf = this | ||
// Currently it's necessary to make the android build work properly | ||
conf.resolutionStrategy.eachDependency { | ||
val isWasm = conf.name.contains("wasm", true) | ||
val isJs = conf.name.contains("js", true) | ||
val isComposeGroup = requested.module.group.startsWith("org.jetbrains.compose") | ||
val isComposeCompiler = requested.module.group.startsWith("org.jetbrains.compose.compiler") | ||
if (isComposeGroup && !isComposeCompiler && !isWasm && !isJs) { | ||
val composeVersion = project.property("compose.version") as String | ||
useVersion(composeVersion) | ||
} | ||
if (requested.module.name.startsWith("kotlin-stdlib")) { | ||
val kotlinVersion = project.property("kotlin.version") as String | ||
useVersion(kotlinVersion) | ||
} | ||
} | ||
} | ||
} | ||
|
||
plugins { | ||
kotlin("multiplatform") apply false | ||
id("org.jetbrains.compose") apply false | ||
} | ||
rootProject.plugins.withType<org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin> { | ||
rootProject.the<org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension>().download = | ||
false | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Mon Jul 24 11:46:47 BDT 2023 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"routes": [ | ||
{ | ||
"src": "/[^.]+", | ||
"dest": "/", | ||
"status": 200 | ||
} | ||
] | ||
} |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.