-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
45 additions
and
223 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
36 changes: 0 additions & 36 deletions
36
mono-build-logic/android-k-plugins/src/main/kotlin/com/blundell/GradleKtsExtensions.kt
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
mono-build-logic/android-k-plugins/src/main/kotlin/com/blundell/SemVersion.kt
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,11 +1,9 @@ | ||
plugins { | ||
// id("groovy-gradle-plugin") // This enables src/main/groovy | ||
`kotlin-dsl` // This enables src/main/kotlin | ||
// id("java-gradle-plugin") | ||
} | ||
|
||
dependencies { | ||
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30") // 1.4.10 | ||
implementation("com.android.tools.build:gradle:7.0.4") //4.1.0 | ||
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.31") | ||
implementation("com.android.tools.build:gradle:7.0.4") | ||
implementation(project(":android-k-plugins")) | ||
} |
9 changes: 2 additions & 7 deletions
9
mono-build-logic/tut-app-1-plugins/src/main/kotlin/tut-app-1.gradle.kts
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 |
---|---|---|
@@ -1,16 +1,11 @@ | ||
import com.blundell.SemVersion | ||
|
||
plugins { | ||
id("app-android-module") | ||
} | ||
|
||
android { | ||
defaultConfig { | ||
applicationId = "com.blundell.tut1" | ||
|
||
SemVersion(0, 1, 0, 0).apply { | ||
versionCode = asCode() | ||
versionName = asName() | ||
} | ||
versionCode = 1 | ||
versionName = "1.0.0" | ||
} | ||
} |
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 |
---|---|---|
@@ -1,11 +1,9 @@ | ||
plugins { | ||
// id("groovy-gradle-plugin") // This enables src/main/groovy | ||
`kotlin-dsl` // This enables src/main/kotlin | ||
// id("java-gradle-plugin") | ||
} | ||
|
||
dependencies { | ||
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.30") // 1.4.10 | ||
implementation("com.android.tools.build:gradle:7.0.4") //4.1.0 | ||
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.31") | ||
implementation("com.android.tools.build:gradle:7.0.4") | ||
implementation(project(":android-k-plugins")) | ||
} |
9 changes: 2 additions & 7 deletions
9
mono-build-logic/tut-app-2-plugins/src/main/kotlin/tut-app-2.gradle.kts
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 |
---|---|---|
@@ -1,16 +1,11 @@ | ||
import com.blundell.SemVersion | ||
|
||
plugins { | ||
id("app-android-module") | ||
} | ||
|
||
android { | ||
defaultConfig { | ||
applicationId = "com.blundell.tut2" | ||
|
||
SemVersion(0, 1, 3, 0).apply { | ||
versionCode = asCode() | ||
versionName = asName() | ||
} | ||
versionCode = 13 | ||
versionName = "1.3.0" | ||
} | ||
} |
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 |
---|---|---|
@@ -1,5 +1 @@ | ||
This module handles talking through HTTP. | ||
It also makes some assumptions about mobile connections: | ||
- we'll want to retry failed connections a few times before reporting an error | ||
- we expect timeouts to be longer than the default on mobile (TODO) | ||
- we want errors to be reported as kotlin.Result and not exceptions |
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
16 changes: 0 additions & 16 deletions
16
tut-app-1/app/src/test/java/com/blundell/tut1/ExampleUnitTest.kt
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
tut-app-2/app/src/androidTest/java/com/blundell/tut1/ExampleInstrumentedTest.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.