Skip to content

Conversation

@yhirano
Copy link

@yhirano yhirano commented Mar 3, 2025

Build android-FlipView in a modern environment.

#Mon Mar 03 09:05:14 JST 2025
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I upgraded Gradle to build with the new OpenJDK.
The old OpenJDK does not support Apple Silicon, making development difficult.

}
dependencies {
compile 'com.android.support:support-v4:18.0.0'
plugins {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update build.gradle for modern Android Gradle Plugin.


// 0 is vertical, 1 is horizontal
mIsFlippingVertically = a.getInt(R.styleable.FlipView_orientation,
mIsFlippingVertically = a.getInt(R.styleable.FlipView_android_orientation,
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move files for modern Android Gradle Plugin.

<enum name="vertical" value="0"/>
<enum name="horizontal" value="1"/>
</attr>
<attr name="android:orientation" />
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dependencies {
compile project(':library')
compile 'com.android.support:support-v4:18.0.0'
plugins {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update build.gradle for modern Android Gradle Plugin.

@yhirano yhirano self-assigned this Mar 3, 2025
@yhirano yhirano marked this pull request as ready for review March 3, 2025 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant