-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleaning up Android post build processor. (#58)
- Loading branch information
1 parent
b89f76c
commit 1ab71c2
Showing
2 changed files
with
17 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,14 @@ | ||
using System.Text; | ||
|
||
namespace Nimbus.Editor { | ||
public static class AndroidBuildDependencies { | ||
private const string SdkVersion = "2.23.0"; | ||
|
||
public static string APSBuildDependencies() { | ||
var builder = new StringBuilder(); | ||
|
||
builder.AppendLine(""); | ||
builder.AppendLine("dependencies {"); | ||
builder.AppendLine($@"implementation ""com.adsbynimbus.android:extension-aps:{SdkVersion}"""); | ||
builder.AppendLine("}"); | ||
return builder.ToString(); | ||
return $@"implementation ""com.adsbynimbus.android:extension-aps:{SdkVersion}"""; | ||
} | ||
|
||
public static string VungleBuildDependencies() { | ||
var builder = new StringBuilder(); | ||
|
||
builder.AppendLine(""); | ||
builder.AppendLine("dependencies {"); | ||
builder.AppendLine($@"implementation ""com.adsbynimbus.android:extension-vungle:{SdkVersion}"""); | ||
builder.AppendLine("}"); | ||
return builder.ToString(); | ||
public static string VungleBuildDependencies() | ||
{ | ||
return $@"implementation ""com.adsbynimbus.android:extension-vungle:{SdkVersion}"""; | ||
} | ||
} | ||
} |
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