-
Notifications
You must be signed in to change notification settings - Fork 0
Build env modernization #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
fix build error
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip |
There was a problem hiding this comment.
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 { |
There was a problem hiding this comment.
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.
@@ -167,7 +167,7 @@ public FlipView(Context context, AttributeSet attrs, int defStyle) { | |||
R.styleable.FlipView); | |||
|
|||
// 0 is vertical, 1 is horizontal | |||
mIsFlippingVertically = a.getInt(R.styleable.FlipView_orientation, | |||
mIsFlippingVertically = a.getInt(R.styleable.FlipView_android_orientation, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
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" /> |
There was a problem hiding this comment.
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 { |
There was a problem hiding this comment.
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.
Build android-FlipView in a modern environment.