Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-enable and fix the sample project building off master (#2278)
* Re-enable and fix the sample project building off master * Fix spotless * Run the sample build on a separate worker * Add gradlew.bat * Update sample/web/build.gradle Co-authored-by: Derek Ellis <derek@llamabagel.ca> * Run build inside the sample directory Co-authored-by: Derek Ellis <derek@llamabagel.ca>
- Loading branch information
Showing
19 changed files
with
386 additions
and
48 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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile | ||
|
||
buildscript { | ||
apply from: "$rootDir/../gradle/dependencies.gradle" | ||
|
||
repositories { | ||
mavenCentral() | ||
google() | ||
maven { url 'https://www.jetbrains.com/intellij-repository/releases' } | ||
maven { url "https://cache-redirector.jetbrains.com/intellij-dependencies" } | ||
} | ||
|
||
dependencies { | ||
classpath deps.plugins.kotlin | ||
classpath deps.plugins.android | ||
classpath "com.squareup.sqldelight:gradle-plugin" | ||
} | ||
} | ||
|
||
apply from: "$rootDir/../gradle/dependencies.gradle" | ||
|
||
|
||
allprojects { | ||
repositories { | ||
mavenCentral() | ||
google() | ||
maven { url 'https://dl.bintray.com/kotlin/kotlinx' } | ||
} | ||
|
||
plugins.withId("org.jetbrains.kotlin.jvm") { | ||
sourceCompatibility = JavaVersion.VERSION_1_8 | ||
targetCompatibility = JavaVersion.VERSION_1_8 | ||
} | ||
|
||
plugins.withId("com.android.library") { | ||
extensions.getByName("android").compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_8 | ||
targetCompatibility JavaVersion.VERSION_1_8 | ||
} | ||
} | ||
|
||
tasks.withType(KotlinCompile).configureEach { | ||
kotlinOptions { | ||
jvmTarget = "1.8" | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
android.useAndroidX=true | ||
kotlin.js.compiler=ir |
Binary file not shown.
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,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.