Skip to content

Commit

Permalink
Merge pull request #120 from gradle/tt/new-android-templates-from-int…
Browse files Browse the repository at this point in the history
…ellij-new-project

Add build specs for Empty and Basic Activity Android Applications and other upgrades
  • Loading branch information
tresat authored Oct 24, 2024
2 parents 4edbd54 + e001341 commit c472ed0
Show file tree
Hide file tree
Showing 153 changed files with 2,343 additions and 482 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
/**
* A plugin that allows you to configure the workspace settings.
*/
abstract public class WorkspaceSettingsPlugin implements Plugin<Settings> {
public abstract class WorkspaceSettingsPlugin implements Plugin<Settings> {
public void apply(Settings settings) {
settings.getExtensions().create("workspace", DefaultWorkspaceSettings.class, settings);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import static org.gradle.experimental.settings.ProjectSpecification.LOGICAL_PATH_SEPARATOR;
import static org.gradle.experimental.settings.ProjectSpecification.logicalPathFromParent;

abstract public class AbstractProjectContainer implements ProjectContainer {
public abstract class AbstractProjectContainer implements ProjectContainer {
public static final String PROJECT_MARKER_FILE = "build.gradle.kts";

protected final Settings settings;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

import static org.gradle.experimental.settings.ProjectSpecification.logicalPathFromParent;

abstract public class DefaultProjectSpecification extends AbstractProjectContainer implements ProjectSpecification {
public abstract class DefaultProjectSpecification extends AbstractProjectContainer implements ProjectSpecification {
@Inject
public DefaultProjectSpecification(Settings settings, File dir, String logicalPath, ProjectContainer parent, ProjectSpecificationFactory projectSpecificationFactory) {
super(settings, dir, logicalPath, parent, projectSpecificationFactory);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import java.io.File;
import java.util.function.Predicate;

abstract public class DefaultRootProjectSpecification extends AbstractProjectContainer implements RootProjectSpecification {
public abstract class DefaultRootProjectSpecification extends AbstractProjectContainer implements RootProjectSpecification {
@Inject
public DefaultRootProjectSpecification(Settings settings, ProjectSpecificationFactory projectSpecificationFactory) {
super(settings, settings.getRootDir(), "", null, projectSpecificationFactory);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import java.util.HashSet;
import java.util.Set;

abstract public class DefaultWorkspaceSettings implements WorkspaceSettings {
public abstract class DefaultWorkspaceSettings implements WorkspaceSettings {
private final Settings settings;
private final ProjectSpecificationFactory projectSpecificationFactory;
private boolean projectsConfigured;
Expand Down
Empty file removed unified-prototype/build.gradle.kts
Empty file.
5 changes: 4 additions & 1 deletion unified-prototype/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
org.gradle.parallel=true
org.gradle.jvmargs=-Xmx1g -XX:MaxMetaspaceSize=1g
android.useAndroidX=true
android.useAndroidX=true

# Supress "The selected Xcode version (15.4) is higher than the maximum known to the Kotlin Gradle Plugin."
kotlin.apple.xcodeCompatibility.nowarn=true
2 changes: 1 addition & 1 deletion unified-prototype/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions-snapshots/gradle-8.11-20240927185041+0000-bin.zip
distributionUrl=https\://services.gradle.org/distributions-snapshots/gradle-8.12-20241024175615+0000-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
2 changes: 1 addition & 1 deletion unified-prototype/java-util/build.gradle.dcl
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
javaLibrary {
javaVersion = 11
javaVersion = 17
}
Loading

0 comments on commit c472ed0

Please sign in to comment.